<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <link>http://persumi.com/u/fredwu/tech/e/blog/t/osx-gcc-installer</link>
    <generator>Persumi - Level up your writing and blogging with AI</generator>
    <category>Blog</category>
    <category>Tech</category>
    <pubDate>Wed, 15 Apr 2026 15:46:51 +0000</pubDate>
    <description/>
    <title>Blog (osx-gcc-installer) - Fred Wu&apos;s Tech</title>
    <atom:link type="application/rss+xml" rel="self" href="http://persumi.com/u/fredwu/tech/e/blog/t/osx-gcc-installer/feed/rss"></atom:link>
    <item>
      <pubDate>Sat, 25 Aug 2012 14:43:00 +0000</pubDate>
      <guid>http://persumi.com/u/fredwu/tech/e/blog/p/brewing-node-js-on-os-x-without-xcode</guid>
      <comments>http://persumi.com/u/fredwu/tech/e/blog/p/brewing-node-js-on-os-x-without-xcode</comments>
      <category>Blog</category>
      <category>Tech</category>
      <author>ifredwu@gmail.com (Fred Wu)</author>
      <description>&lt;![CDATA[&lt;p&gt;
If you are like me who has no need for a full Xcode installation just to get the command line tools, chances are you are using one of these: Apple’s &lt;a href=&quot;https://developer.apple.com/downloads/&quot;&gt;Command Line Tools&lt;/a&gt; or the &lt;a href=&quot;https://github.com/kennethreitz/osx-gcc-installer&quot;&gt;osx-gcc-installer&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;
Recently Node.js has made some changes so that it no longer installs on OS X via &lt;a href=&quot;http://mxcl.github.com/homebrew/&quot;&gt;homebrew&lt;/a&gt; if you don’t have Xcode installed.&lt;/p&gt;
&lt;p&gt;
If you run &lt;code class=&quot;inline&quot;&gt;brew install nodejs&lt;/code&gt;, you will get the following error:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;shell language-shell&quot;&gt;\&gt; Error: Failed executing: make install (node.rb:28)&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
And if you run &lt;code class=&quot;inline&quot;&gt;brew install -v nodejs&lt;/code&gt;, you will discover this line:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;shell language-shell&quot;&gt;\&gt; xcode-select: Error: No Xcode is selected. Use xcode-select -switch , or see the xcode-select manpage (man xcode-select) for further information.&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
The fix? It’s actually quite easy, simply do:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;shell language-shell&quot;&gt;sudo xcode-select --switch /usr/bin&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
And voila! You can now install Node.js just fine. :)&lt;/p&gt;
]]&gt;</description>
      <link>http://persumi.com/u/fredwu/tech/e/blog/p/brewing-node-js-on-os-x-without-xcode</link>
      <title>Brewing Node.js on OS X without Xcode</title>
    </item>
  </channel>
</rss>