Prepare your credentials
Create a personal API key
Open Linear in your browser and follow this path inside your account:
- Select Create key.
- Give the key a clear label such as CLI.
- Copy the generated key and keep it private.
Personal API keys require Linear member access and are not available to guest accounts.
Connect your workspace
Run the authentication command
Run the following command in your terminal. Linear CLI will then ask for the personal API key you created.
Enter your Linear API key: ***
Paste the key here in your terminal—not on this website.
The recommended login method stores the key in the native system keyring: macOS Keychain, Windows Credential Manager or Linux libsecret.
Confirm the connection
Verify the authenticated workspace
Use this command to display the current authenticated user and Linear workspace.
If your user and workspace appear, Linear CLI authentication is working.