Evan Harmon - Memex

Ollama

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.

Ollama
Interactive graph
On this page
Ollama
Usage
Serve
Environment variables