{
  "meta": {
    "url": "https://docs.ollama.com/cli",
    "description": [
      "ollama - ollama's command line interface tool."
    ]
  },
  "root": [
    {
      "name": "cp",
      "tip": [
        "Copy a model"
      ]
    },
    {
      "name": "create",
      "tip": [
        "Create a customized model with modelfile."
      ],
      "option": [
        {
          "name": "-f",
          "tip": [
            "The path of modelfile"
          ]
        }
      ]
    },
    {
      "name": "launch",
      "tip": [
        "Configure and launch external applications to use Ollama models. ",
        "Now supports OpenCode, Claude Code, Codex, VS Code and Droid."
      ],
      "option": [
        {
          "name": "--config",
          "tip": [
            "Configure without launching."
          ]
        },
        {
          "name": "--model",
          "tip": [
            "Launch with a specific model."
          ]
        }
      ]
    },
    {
      "name": "ls",
      "tip": [
        "List models"
      ]
    },
    {
      "name": "ps",
      "tip": [
        "List running models"
      ]
    },
    {
      "name": "pull",
      "tip": [
        "Download a model from a registry"
      ]
    },
    {
      "name": "push",
      "tip": [
        "Push a model to a registry"
      ]
    },
    {
      "name": "rm",
      "tip": [
        "Remove a model"
      ]
    },
    {
      "name": "run",
      "tip": [
        "Run a model.",
        "If you are running an embedding model, you can generate text embeddings directly in the terminal.",
        "The output will be a JSON array of embeddings."
      ]
    },
    {
      "name": "serve",
      "tip": [
        "Start Ollama"
      ],
      "option": [
        {
          "name": "--help",
          "tip": [
            "view a list of environment variables that can be set for ollama."
          ]
        }
      ]
    },
    {
      "name": "show",
      "tip": [
        "Show information for a model"
      ]
    },
    {
      "name": "signin",
      "tip": [
        "Sign in to Ollama"
      ]
    },
    {
      "name": "signout",
      "tip": [
        "Sign out of Ollama"
      ]
    },
    {
      "name": "stop",
      "tip": [
        "Stop a running model"
      ]
    }
  ],
  "option": [
    {
      "name": "--help",
      "alias": [
        "-h"
      ],
      "tip": [
        "Help for ollama"
      ]
    },
    {
      "name": "--version",
      "alias": [
        "-v"
      ],
      "tip": [
        "Show version information."
      ]
    }
  ]
}
