Skip to main content
Authenticate with ollama.com to access cloud models, push your own models, or use the Ollama cloud service.

Syntax

ollama signin

How it works

The signin command initiates an authentication flow:
  1. Generates a secure connection request
  2. Opens your default browser to the Ollama sign-in page
  3. Prompts you to authorize the connection
  4. Stores authentication credentials locally
1

Run the signin command

ollama signin
2

Authorize in browser

Your browser will open to https://ollama.com/connect. Click “Authorize” to complete the sign-in process.
3

Confirmation

Once authorized, you’ll see a confirmation message in your terminal.

What signing in enables

Cloud models

Access larger, more powerful models hosted on Ollama’s infrastructure

Push models

Share your custom models with the community at ollama.com

Private models

Access your private models across devices

Model library

Browse and pull from the full model library

Examples

Sign in to access cloud models

ollama signin
After signing in, you can run cloud models:
ollama run deepseek-r1:671b

Sign in to push a model

ollama signin
ollama push myusername/my-model

Authentication storage

Credentials are stored securely in:
  • macOS: Keychain
  • Linux: ~/.ollama/
  • Windows: Credential Manager

Troubleshooting

If your browser doesn’t open automatically, copy the URL from the terminal and paste it into your browser manually.
If you’re already signed in, the command will confirm your current authentication status. Use ollama signout first if you need to sign in with a different account.
If the connection times out, check your internet connection and try again. The signin link expires after a few minutes.

Exit codes

  • 0 - Successfully signed in
  • 1 - Sign-in failed (network error, user declined, or timeout)

ollama signout

Sign out from ollama.com

ollama push

Push models to ollama.com

ollama pull

Pull models from ollama.com

Ollama Cloud

Learn about cloud models

Build docs developers (and LLMs) love