Skip to content

Login

Authenticate your machine with N45.AI before setting it up in any project.

License required

npx n45-ai@latest 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

npx n45-ai@latest login

This opens your browser. Sign in with your N45 account (or sign up if you don't have one).

What happens next

  1. Your browser opens at the N45 sign-in page
  2. After successful sign-in, the CLI captures the authentication token
  3. The token is stored in your home directory (~/.n45/)
  4. Your terminal shows something like:
✓ Logged in as you@example.com
✓ Organization: <your-org-name>
✓ Plan: N45.AI - Pro

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@latest login again replaces the current session. To switch accounts, just log in again with the new email.

Next step

Once logged in, set up your project or workspace.