<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Redis 安裝｜林鼎淵 Dean Lin</title>
    <link>https://deanlin.net/tags/redis-%E5%AE%89%E8%A3%9D/</link>
    <image><url>https://deanlin.net/images/author_hu_aa256fc934e9a932.jpg</url><title>Redis 安裝｜林鼎淵 Dean Lin</title><link>https://deanlin.net/tags/redis-%E5%AE%89%E8%A3%9D/</link><width>144</width><height>144</height></image>
    <description>林鼎淵（Dean Lin）的部落格：生成式 AI 企業內訓講師、外商資安公司軟體專家、7 本書作者。400 多篇文章用白話分享生成式 AI 實戰、Claude Code 與 Vibe Coding 教學、團隊合作與職場成長。</description>
    <generator>Hugo</generator>
    <language>zh-tw</language>
    <copyright>© 2020–2026 林鼎淵 Dean Lin</copyright>
    <lastBuildDate>Wed, 11 Aug 2021 22:45:09 +0800</lastBuildDate>
    <atom:link href="https://deanlin.net/tags/redis-%E5%AE%89%E8%A3%9D/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>手把手帶你在 MacOS 安裝 Redis ＆Another Redis Desktop Manager</title>
      <link>https://deanlin.net/blog/202108/install-redis-on-macos/</link>
      <pubDate>Wed, 11 Aug 2021 22:45:09 +0800</pubDate>
      <guid>https://deanlin.net/blog/202108/install-redis-on-macos/</guid>
      <dc:creator>林鼎淵</dc:creator>
      <category>技術教學</category>
      <description>本篇文章除了帶你安裝 Redis，更分享一個超好用的 Redis GUI 神器；整個操作流程不超過 10 分鐘，想入門 Redis 看這篇文章就對啦！</description>
      <media:content url="https://deanlin.net/blog/202108/install-redis-on-macos/images/install-redis-on-macos-og_hu_c10df86a418ac4ee.jpg" medium="image" type="image/jpeg" width="1200" height="675" />
      <content:encoded><![CDATA[<p>本篇文章除了帶你安裝 Redis，更分享一個超好用的 Redis GUI 神器；整個操作流程不超過 10 分鐘，想入門 Redis 看這篇文章就對啦！</p>
<p><img src="https://deanlin.net/blog/202108/install-redis-on-macos/images/install-redis-on-macos-01.webp" width="1400" height="787" alt="手把手帶你在 MacOS 安裝 Redis ＆Another Redis Desktop Manager（圖 1）" fetchpriority="high" decoding="async"></p>
<h2 id="一安裝並啟動-redis">一、安裝並啟動 Redis<a class="h-anchor" href="#%e4%b8%80%e5%ae%89%e8%a3%9d%e4%b8%a6%e5%95%9f%e5%8b%95-redis" aria-label="這個段落的連結"></a></h2>
<p><strong>SETP 1</strong>：打開終端機輸入下面指令安裝 Homebrew（若安裝過請忽略）</p>
<pre tabindex="0"><code>/bin/bash -c &#34;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&#34;
</code></pre><p><strong>SETP 2</strong>：使用 Homebrew 安裝 Redis</p>
<div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>brew install redis
</span></span></code></pre></div><p><strong>SETP 3</strong>：啟動 Redis</p>
<p>啟動 Server 終端機執行指令 <code>redis-server</code></p>
<p><img src="https://deanlin.net/blog/202108/install-redis-on-macos/images/install-redis-on-macos-02.webp" width="1400" height="1045" alt="一、安裝並啟動 Redis（圖 2）" loading="lazy" decoding="async"></p>
<p>開一個 Terminal 啟動 Client 終端機執行指令 <code>redis-cli</code> （如果沒開新的 Terminal 直接做是不行的喔！）</p>
<p><img src="https://deanlin.net/blog/202108/install-redis-on-macos/images/install-redis-on-macos-03.webp" width="572" height="144" alt="一、安裝並啟動 Redis（圖 3）" loading="lazy" decoding="async"></p>
<p><strong>SETP 3</strong>：測試 Redis 基礎功能</p>
<pre tabindex="0"><code>ping
set foo bar
get foo
</code></pre><p><img src="https://deanlin.net/blog/202108/install-redis-on-macos/images/install-redis-on-macos-04.webp" width="710" height="368" alt="一、安裝並啟動 Redis（圖 4）" loading="lazy" decoding="async"></p>
<blockquote>
<p>如果操作結果跟上圖一樣就恭喜你安裝成功嚕～</p>
</blockquote>
<hr>
<h2 id="二安裝及使用-another-redis-desktop-manager">二、安裝及使用 Another Redis Desktop Manager<a class="h-anchor" href="#%e4%ba%8c%e5%ae%89%e8%a3%9d%e5%8f%8a%e4%bd%bf%e7%94%a8-another-redis-desktop-manager" aria-label="這個段落的連結"></a></h2>
<p><strong>SETP 1</strong>：使用 Homebrew 安裝</p>
<div class="highlight"><pre tabindex="0" style="color:#e6edf3;background-color:#0d1117;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"><code class="language-bash" data-lang="bash"><span style="display:flex;"><span>brew install --cask another-redis-desktop-manager
</span></span></code></pre></div><p><strong>SETP 2</strong>：安裝後可以在應用程式列表看到他，但如果你的作業系統是 MacOS 10.15 以上，打開程式時會遇到如下錯誤</p>
<p><img src="https://deanlin.net/blog/202108/install-redis-on-macos/images/install-redis-on-macos-05.webp" width="836" height="370" alt="二、安裝及使用 Another Redis Desktop Manager（圖 5）" loading="lazy" decoding="async"></p>
<p><strong>SETP 3</strong>：看到錯誤別慌張，打開「系統偏好設定」，選擇「安全性與隱私權」</p>
<p><img src="https://deanlin.net/blog/202108/install-redis-on-macos/images/install-redis-on-macos-06.webp" width="1334" height="1118" alt="二、安裝及使用 Another Redis Desktop Manager（圖 6）" loading="lazy" decoding="async"></p>
<p><strong>SETP 4</strong>：在「一般」的分頁下，「強制打開」這個 APP</p>
<p><img src="https://deanlin.net/blog/202108/install-redis-on-macos/images/install-redis-on-macos-07.webp" width="1334" height="1138" alt="二、安裝及使用 Another Redis Desktop Manager（圖 7）" loading="lazy" decoding="async"></p>
<p><strong>SETP 5</strong>：在系統的警告下，鼓氣勇氣「打開」他吧！</p>
<p><img src="https://deanlin.net/blog/202108/install-redis-on-macos/images/install-redis-on-macos-08.webp" width="830" height="414" alt="二、安裝及使用 Another Redis Desktop Manager（圖 8）" loading="lazy" decoding="async"></p>
<p><strong>SETP 6</strong>：打開後迎面而來的是簡潔有力的畫面，點擊左上角「New Connection」建立新連線</p>
<p><img src="https://deanlin.net/blog/202108/install-redis-on-macos/images/install-redis-on-macos-09.webp" width="1400" height="927" alt="二、安裝及使用 Another Redis Desktop Manager（圖 9）" loading="lazy" decoding="async"></p>
<p><strong>SETP 7</strong>：直接使用默認的設定即可，按下「OK」</p>
<p><img src="https://deanlin.net/blog/202108/install-redis-on-macos/images/install-redis-on-macos-10.webp" width="1400" height="927" alt="二、安裝及使用 Another Redis Desktop Manager（圖 10）" loading="lazy" decoding="async"></p>
<p><strong>SETP 8</strong>：最後進入 DB 確認剛剛建立的 key-value(foo-bar) 是否存在</p>
<blockquote>
<p>如果 redis 沒有選擇 DB，預設都是 0</p>
</blockquote>
<p><img src="https://deanlin.net/blog/202108/install-redis-on-macos/images/install-redis-on-macos-11.webp" width="1099" height="727" alt="二、安裝及使用 Another Redis Desktop Manager（圖 11）" loading="lazy" decoding="async"></p>
<blockquote class="pullquote"><p>大功告成嚕！恭喜大家踏出學習 Redis 的第一步～</p>
</blockquote>
<p><strong>參考資源：</strong></p>
<ol>
<li><a href="https://www.ioa.tw/macOS/Redis.html">macOS 上安裝 Redis</a></li>
<li><a href="https://github.com/qishibo/AnotherRedisDesktopManager">Another Redis Desktop Manager</a></li>
</ol>
]]></content:encoded>
    </item>
  </channel>
</rss>
