# Ollama
| | url:: [Ollama](https://ollama.com/) |
| --- | ---------------------------------------------------------------------------------------------------------------------------- |
| | docs:: [ollama/docs at main · ollama/ollama](https://github.com/ollama/ollama/tree/main/docs) |
| | faq:: [ollama/docs/faq.md at main · ollama/ollama](https://github.com/ollama/ollama/blob/main/docs/faq.md) |
| | [ollama/docs/troubleshooting.md at main · ollama/ollama](https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md) |
## Usage
- ollama
- pull
- push
- run
- within the cli of a running model
- /set
- Set session variables
- /show
- Show model information
- info
- Show details for this model
- license
- Show model license
- modelfile
- Show Modelfile for this model
- parameters
- Show parameters for this model
- system
- Show system message
- template
- Show prompt template
- /load aModel
- Load a session or model
- /save aModel
- Save your current session
- /clear
- Clear session context
- /bye
- Exit
- list
- show
- rm
- create
- cp
### Serve
serve
#### Environment variables
OLLAMA_HOST: Specifies the bind address for the server. Setting it to "0.0.0.0" allows access from any network interface.
OLLAMA_MODELS: Defines the directory for storing models.
OLLAMA_ORIGINS: Configures additional web origins allowed to access the server.
HTTP_PROXY/HTTPS_PROXY: Used for configuring proxy settings when running behind a proxy server.