<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Chang Chia-Yuan on Medium]]></title>
        <description><![CDATA[Stories by Chang Chia-Yuan on Medium]]></description>
        <link>https://medium.com/@albertc-ccy?source=rss-2cd02e03c95------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*fy0r0j83EeogH04b5GLLXg.jpeg</url>
            <title>Stories by Chang Chia-Yuan on Medium</title>
            <link>https://medium.com/@albertc-ccy?source=rss-2cd02e03c95------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 22:54:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@albertc-ccy/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[(筆記)在Mac上用Homebrew安裝git]]></title>
            <link>https://medium.com/@albertc-ccy/%E7%AD%86%E8%A8%98-%E5%9C%A8mac%E4%B8%8A%E7%94%A8homebrew%E5%AE%89%E8%A3%9Dgit-cee05a7e3b29?source=rss-2cd02e03c95------2</link>
            <guid isPermaLink="false">https://medium.com/p/cee05a7e3b29</guid>
            <category><![CDATA[homebrew]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[install-git]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Chang Chia-Yuan]]></dc:creator>
            <pubDate>Tue, 02 Feb 2021 04:50:35 GMT</pubDate>
            <atom:updated>2021-02-04T07:55:16.509Z</atom:updated>
            <content:encoded><![CDATA[<p>(筆記)在Mac上用Homebrew安裝git</p><p><a href="https://git-scm.com/download/mac">Git - Downloading Package</a></p><blockquote>安裝git</blockquote><pre>$ brew install git</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T0jvPvwiOKJOZQwRomiscA.png" /><figcaption>出現了滿滿的紅字和Error</figcaption></figure><blockquote>我的電腦上安裝完後發現打上 git version會出現下面的錯誤訊息</blockquote><pre>xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun</pre><blockquote>處理方式</blockquote><pre>$ xcode-select -— install</pre><blockquote>安裝完後再試試看</blockquote><pre>$ git version</pre><p>成功啦～</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/567/1*YV8hdiaNGNJg1G9Ujfc0PQ.png" /><figcaption>成功查到版本了</figcaption></figure><p>參考資料：</p><p><a href="https://guahsu.io/2017/11/mac-update-cant-use-git/">「Mac」更新CommandLine後無法使用git指令問題</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cee05a7e3b29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[（筆記）如何在Mac上安裝Homebrew]]></title>
            <link>https://medium.com/@albertc-ccy/%E7%AD%86%E8%A8%98-%E5%A6%82%E4%BD%95%E5%9C%A8mac%E4%B8%8A%E5%AE%89%E8%A3%9Dhomebrew-87f127c6ebcf?source=rss-2cd02e03c95------2</link>
            <guid isPermaLink="false">https://medium.com/p/87f127c6ebcf</guid>
            <category><![CDATA[homebrewinstallonmac]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[homebrew]]></category>
            <dc:creator><![CDATA[Chang Chia-Yuan]]></dc:creator>
            <pubDate>Mon, 01 Feb 2021 10:21:03 GMT</pubDate>
            <atom:updated>2021-02-01T10:23:13.721Z</atom:updated>
            <content:encoded><![CDATA[<p>HomeBrew網站</p><p><a href="https://brew.sh/index_zh-tw">Homebrew</a></p><p>安裝方式</p><blockquote>1. 官網上已經有寫安裝方式了，把紅色框框內的指令（如下圖）複製下來貼上你的終端機上執行</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V7OI1tncYFr5r5VSlJaDCg.png" /><figcaption>紅色框框內的指令</figcaption></figure><pre>＄ /bin/bash -c “$(curl -fsSL <a href="https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh">https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh</a>)&quot;</pre><blockquote>中間會有需要按下「RETURN鍵」，但你一定會想那是什麼？</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uAlyrEzAZxULLeKP4qA43Q.png" /><figcaption>其實那是「ENTER鍵」拉</figcaption></figure><blockquote>剛剛那段指令跑完長會這樣</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gpOsFvplV0-CAK_IvsAJOA.png" /><figcaption>跑完後會長這樣</figcaption></figure><p>但是如果你也和我一樣執行完直接關掉的話，會出現下面這個</p><pre>zsh: command not found: brew</pre><blockquote>2. 所以你需要第二步，執行上面的「Next steps:」</blockquote><pre>$ echo ‘eval $(/opt/homebrew/bin/brew shellenv)’ &gt;&gt; /Users/[你的帳號]/.zprofile eval $(/opt/homebrew/bin/brew shellenv)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vptTJKQG9iwhcsLyDt0SSw.png" /><figcaption>這就是我忽略的那段指令，阿其實他有好好的在上面你要做的下一步</figcaption></figure><blockquote>3. 測試看看你有沒有成功啦～</blockquote><pre>$ brew — version</pre><blockquote>4. 阿如果你還是有問題的話再試試看下面的方式，加入環境變數</blockquote><ul><li><a href="https://stackoverflow.com/questions/36657321/after-installing-brew-i-get-command-not-found-brew">after installing brew I get `command not found: brew`</a></li><li><a href="https://www.itread01.com/content/1550573672.html">解決mac安裝homebrew後報錯-bash: brew: command not found</a></li><li><a href="https://www.zhihu.com/question/22920735">MAC OS X换了zsh请问如何还能使用brew？</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87f127c6ebcf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>