Skip to content

Instantly share code, notes, and snippets.

@jtokoph
Created August 31, 2012 23:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jtokoph/3561067 to your computer and use it in GitHub Desktop.
Save jtokoph/3561067 to your computer and use it in GitHub Desktop.
hurricane:~ · npm -g prefix
/usr/local
hurricane:~ · which npm
/usr/local/bin/npm
hurricane:~ · npm --version
1.1.54
hurricane:~ · brew prefix
Error: Unknown command: prefix
hurricane:~ · brew --prefix
/usr/local
hurricane:~ · brew --version
0.9.2
hurricane:~ · brew update
Updated Homebrew from d23c3898 to e65131d7.
==> New Formula
abcmidi drip libbluray mlxcc qtplay sga
bamtools ent libmetalink mpfi recoverjpeg soci
bup fatsort libpgm png++ rhash solfege
ctemplate gti libpqxx pngquant sec tika
darner imageworsener miredo ps2eps sflowtool xmlcatmgr
==> Updated Formula
aalib fasd libtiff ruby-enterprise-edition
abiword fceux libtorrent-rasterbar rust
alure ffmbc libunique rxvt-unicode
app-engine-java-sdk ffmpeg libvirt salt
appledoc ffmpegthumbnailer libvorbis sam2p
aview field3d lilypond samba
avra fish lolcode sbcl
aws-cfn-tools flann lua scala
aws-sns-cli fontconfig luajit schroedinger
bind fontforge macvim scm-manager
bitlbee freetds mapnik sdl_sound
blitz freetype mapserver serf
blueutil fuse4x mdxmini sigar
boost fuse4x-kext memcached simh
boost-build gambit-scheme midgard2 sip
bwa gdk-pixbuf mjpegtools sl
cairo gearman mkvtoolnix sleuthkit
cdo getmail mldonkey snort
cfitsio ghostscript mogenerator socat
cgal git-cola monetdb solid
chmox git-multipush mongodb sphinx
chromaprint gmtl mosquitto spidermonkey
clamav go mpack sqsh
clay go-app-engine-32 mpd sshfs
clisp go-app-engine-64 mplayer staticrouted
clojure google-app-engine mu subversion
cloudbees-sdk google-perftools mysql suite-sparse
clucene gource nauty surfraw
clutter graphviz netpbm swi-prolog
cmus graylog2-server ngspice symphony
cogl gromacs node teem
coq groonga oath-toolkit tesseract
cppcheck groovy objective-caml thrift
crossroads gtk+ octave tmux
ctags gtk+3 ode tokyo-tyrant
ctail guile open-scene-graph torsocks
curl hiredis opencolorio trafficserver
dart hydra opencv two-lame
darwinbuild icu4c openimageio udunits
dash id3lib opus unp
dcmtk imagemagick opus-tools v8cgi
devil imagesnap otx vala
disktype io pan valgrind
dotwrp jstalk pango varnish
dvdauthor justniffer pathfinder vgmstream
dzen2 kyoto-tycoon percona-server vimpc
ecasound lastfm_fplib pixman vips
eet lastfmfpclient pkg-config vpnc
eina ldns plt-racket vrpn
ejabberd lesspipe pmdmini vsftpd
ekg2 libcouchbase poppler vtk
elasticsearch libcroco portaudio webp
elinks libdbusmenu-qt portmidi weechat
emacs libdnet postgresql winetricks
emboss libdvdcss qi wmctrl
embryo libdvdread qrupdate wxmac
enscript libextractor r xrootd
epubcheck libgcrypt rabbitmq zeromq
erlang libgda reattach-to-user-namespace zint
exiftool libgphoto2 redis znc
exim libid3tag remctl zookeeper
ezlupdate libmp3splt robodoc
falcon libnet rrdtool
fantom libpng rtmpdump
==> Deleted Formula
clojure-contrib dia synergy
hurricane:~ · brew --version
0.9.3
hurricane:~ · node --version
v0.8.7
hurricane:~ · brew outdated
node (0.4.10, 0.4.12, 0.4.5, 0.4.6, 0.4.7, 0.4.8, 0.4.9, 0.6.0, 0.6.1, 0.6.11, 0.6.12, 0.6.13, 0.6.14, 0.6.15, 0.6.17, 0.6.18, 0.6.19, 0.6.2, 0.6.5, 0.6.6, 0.6.7, 0.6.8, 0.6.9, 0.8.0, 0.8.1, 0.8.2, 0.8.3, 0.8.6, 0.8.7 < 0.8.8)
pkg-config (0.25, 0.27 < 0.27.1)
hurricane:~ · brew upgrade node
==> Upgrading node
==> Downloading http://nodejs.org/dist/v0.8.8/node-v0.8.8.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/node/0.8.8
==> make install
Warning: skip_clean :all is deprecated
Skip clean was commonly used to prevent brew from stripping binaries.
brew no longer strips binaries, if skip_clean is required to prevent
brew from removing empty directories, you should specify exact paths
in the formula.
==> Caveats
Homebrew installed npm.
We recommend prepending the following path to your PATH environment
variable to have npm-installed binaries picked up:
/usr/local/share/npm/bin
Warning: Could not link node. Unlinking...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
You can try again using `brew link node'
==> Summary
/usr/local/Cellar/node/0.8.8: 846 files, 13M, built in 3.0 minutes
hurricane:~ · which npm
hurricane:~ · which node
hurricane:~ · npm
-bash: /usr/local/bin/npm: No such file or directory
hurricane:~ · node
-bash: /usr/local/bin/node: No such file or directory
hurricane:~ ·
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment