Syntax
How it works
Thesignout command:
- Revokes the authentication token on ollama.com
- Removes locally stored credentials
- Prevents access to cloud models until you sign in again
What happens after signing out
After signing out:- ❌ You cannot access cloud models (e.g.,
deepseek-r1:671b) - ❌ You cannot push models to ollama.com
- ✅ You can still use locally available models
- ✅ You can still pull public models from the library
Examples
Sign out from current account
Sign out and sign in with different account
Authentication removal
Credentials are removed from:- macOS: Keychain
- Linux:
~/.ollama/ - Windows: Credential Manager
When to use signout
Switching accounts
Sign out to switch between different ollama.com accounts
Shared device
Sign out when done on a shared or public computer
Revoking access
Sign out to revoke authentication for security
Troubleshooting
Sign out and back in to fix authentication issues
Troubleshooting
Not currently signed in
Not currently signed in
If you’re not signed in, the command will inform you that there’s no active session to sign out from.
Server unreachable
Server unreachable
If the Ollama server is not running, you may need to start it first with
ollama serve before signing out.Cloud models stop working
Cloud models stop working
This is expected behavior. After signing out, you won’t have access to cloud models until you sign in again with
ollama signin.Exit codes
0- Successfully signed out1- Sign-out failed (server error or not signed in)
Notes
Signing out only affects authentication with ollama.com. Your locally stored models remain unchanged.
Related commands
ollama signin
Sign in to ollama.com
ollama push
Push models (requires authentication)
Ollama Cloud
Learn about cloud models