跳到主要内容

基本命令

目的命令
查看版本ollama --version
查看帮助ollama --help
运行模型ollama run qwen2.5:7b
下载模型ollama pull qwen2.5:7b
查看本地模型ollama list
删除模型ollama rm qwen2.5:7b
查看模型详情ollama show qwen2.5:7b
查看运行中模型ollama ps
停止模型ollama stop qwen2.5:7b
启动服务ollama serve
创建自定义模型ollama create my-model -f Modelfile
复制模型ollama cp source target
📢 Share this article