Login¶
Authenticate your machine with N45.AI before installing it in any project.
License required
npx n45-ai login only succeeds when your account has an active N45.AI license. See Plans to subscribe, or ask your org admin to assign you a seat if you're on a Team or Enterprise plan.
Run the command¶
This opens your browser. Sign in with your N45 account (or sign up if you don't have one).
What happens next¶
- Your browser opens at the N45 sign-in page
- After successful sign-in, the CLI captures the authentication token
- The token is stored in your home directory (
~/.n45/) - Your terminal shows something like:
✓ Logged in as [email protected]
✓ Organization: <your-org-name>
✓ Plan: N45.AI - Pro
Logout¶
This removes the local token. You'll need to log in again before installing N45 in a new project.
Troubleshooting¶
Browser didn't open
Some terminal environments (SSH sessions, restricted containers) can't open a browser automatically. The CLI prints a URL — open it manually in any browser on the same machine.
Switching accounts
Running npx n45-ai login again replaces the current session. To switch accounts, just log in again with the new email.
Next step¶
Once logged in, install N45 in your project.