参考:
https://www.zhihu.com/question/661930353/answer/15903115544

# 查看当前已经下载的模型列表
ollama list

# 下载模型(去选择你喜欢的模型吧)
ollama pull Mistral

# 修改监听端口(默认监听在127.0.0.1,为了能被外部访问到,需要修改)
$env:ollama_host = "0.0.0.0:11434"

# 开启服务
ollama serve
Logo

汇聚全球AI编程工具,助力开发者即刻编程。

更多推荐