<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>ollama安装与升级 on ollama</title>
    <link>https://cncfstack.com/p/ollama/docs/2000.install-upgrade/</link>
    <description>Recent content in ollama安装与升级 on ollama</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="https://cncfstack.com/p/ollama/docs/2000.install-upgrade/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Mac 安装 Ollama</title>
      <link>https://cncfstack.com/p/ollama/docs/2000.install-upgrade/2010.mac%E5%AE%89%E8%A3%85ollame/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://cncfstack.com/p/ollama/docs/2000.install-upgrade/2010.mac%E5%AE%89%E8%A3%85ollame/</guid>
      <description>&lt;p&gt;在 Mac 上安装 Ollama 工具，主要通过官方的安装方式： &lt;a href=&#34;https://ollama.com/download/mac&#34;&gt;https://ollama.com/download/mac&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;官方提供两种安装方式，通过命令行安装和通过下载安装。&lt;/p&gt;&#xA;&lt;h2 id=&#34;通过命令行安装&#34;&gt;通过命令行安装&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#%e9%80%9a%e8%bf%87%e5%91%bd%e4%bb%a4%e8%a1%8c%e5%ae%89%e8%a3%85&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;通过命令行安装需要打开 Mac 的 Terminal 终端，并输入以下命令&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;../mac-terminal.png&#34; alt=&#34;Mac 的 Terminal 终端&#34;&gt;&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;curl -fsSL https://ollama.com/install.sh &lt;span style=&#34;color:#000;font-weight:bold&#34;&gt;|&lt;/span&gt; sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;命令执行成功后，会提示安装成功。&lt;/p&gt;&#xA;&lt;h2 id=&#34;通过下载安装&#34;&gt;通过下载安装&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#%e9%80%9a%e8%bf%87%e4%b8%8b%e8%bd%bd%e5%ae%89%e8%a3%85&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;通过下载安装需要访问 Ollama 的下载页面  &lt;a href=&#34;https://ollama.com/download/mac&#34;&gt;https://ollama.com/download/mac&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;点击 &lt;strong&gt;Download for macOS&lt;/strong&gt; 进行下载&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;../download-mac-ollama.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;下载完成后，和普通的软件一样，双击安装即可&lt;/p&gt;&#xA;&lt;h2 id=&#34;测试安装是否成功&#34;&gt;测试安装是否成功&lt;a class=&#34;td-heading-self-link&#34; href=&#34;#%e6%b5%8b%e8%af%95%e5%ae%89%e8%a3%85%e6%98%af%e5%90%a6%e6%88%90%e5%8a%9f&#34; aria-label=&#34;Heading self-link&#34;&gt;&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;测试安装是否成功，可以通过 Mac 的应用启动图标启动 Ollama。&lt;/p&gt;&#xA;&lt;p&gt;启动后会在右上角显示一个图标&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;../ollama-start-icon.png&#34; alt=&#34;Ollama的启动图标&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;也可以通过命令行进行测试&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ollama&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
    </item>
  </channel>
</rss>
