Syntax
How it works
Thesignin command initiates an authentication flow:
- Generates a secure connection request
- Opens your default browser to the Ollama sign-in page
- Prompts you to authorize the connection
- Stores authentication credentials locally
Authorize in browser
Your browser will open to
https://ollama.com/connect. Click “Authorize” to complete the sign-in process.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
Sign in to push a model
Authentication storage
Credentials are stored securely in:- macOS: Keychain
- Linux:
~/.ollama/ - Windows: Credential Manager
Troubleshooting
Browser doesn't open automatically
Browser doesn't open automatically
If your browser doesn’t open automatically, copy the URL from the terminal and paste it into your browser manually.
Already signed in
Already signed in
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.Connection timeout
Connection timeout
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 in1- Sign-in failed (network error, user declined, or timeout)
Related commands
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