<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <generator>Persumi - Level up your writing and blogging with AI</generator>
  <category label="Blog" scheme="http://persumi.com/u/fredwu/tech/e/blog" term="blog"/>
  <category label="Tech" scheme="http://persumi.com/u/fredwu/tech" term="tech"/>
  <link href="http://persumi.com/u/fredwu/tech/e/blog/t/osx-gcc-installer"/>
  <link href="http://persumi.com/u/fredwu/tech/e/blog/t/osx-gcc-installer/feed/rss"/>
  <link rel="self" href="http://persumi.com/u/fredwu/tech/e/blog/t/osx-gcc-installer/feed/atom"/>
  <author>
    <name>Fred Wu</name>
    <email>ifredwu@gmail.com</email>
    <uri>http://persumi.com/u/fredwu</uri>
  </author>
  <subtitle/>
  <id>http://persumi.com/u/fredwu/tech/e/blog/t/osx-gcc-installer</id>
  <title>Blog (osx-gcc-installer) - Fred Wu&apos;s Tech</title>
  <updated>2026-04-15T15:49:31.332029Z</updated>
  <entry>
    <content type="html">&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;</content>
    <published>2012-08-25T14:43:00.000000Z</published>
    <category label="Blog" scheme="http://persumi.com/u/fredwu/tech/e/blog" term="blog"/>
    <category label="Tech" scheme="http://persumi.com/u/fredwu/tech" term="tech"/>
    <link href="http://persumi.com/u/fredwu/tech/e/blog/p/brewing-node-js-on-os-x-without-xcode"/>
    <author>
      <name>Fred Wu</name>
      <email>ifredwu@gmail.com</email>
      <uri>http://persumi.com/u/fredwu</uri>
    </author>
    <id>http://persumi.com/u/fredwu/tech/e/blog/p/brewing-node-js-on-os-x-without-xcode</id>
    <title>Brewing Node.js on OS X without Xcode</title>
    <updated>2012-08-25T14:43:00.000000Z</updated>
  </entry>
</feed>