Skip to content

Instantly share code, notes, and snippets.

@reid
Created June 7, 2010 19:11
Show Gist options
  • Select an option

  • Save reid/429046 to your computer and use it in GitHub Desktop.

Select an option

Save reid/429046 to your computer and use it in GitHub Desktop.
[rburke@gonechildren-lm 529 ~/npwhat]
$ npm link .
The "ini" module will be removed in future versions of Node, please extract it into your own code.
npm configfile /Users/rburke/.npmrc
npm sudo false
npm cli [ 'link', '.' ]
npm link /Users/rburke/npwhat
npm link /Users/rburke/npwhat is a directory
npm link reading /Users/rburke/npwhat/package.json
npm readJson /Users/rburke/npwhat/package.json
npm link reid-test 0.0.1
npm link created symlink: /Users/rburke/.node_libraries/.npm/reid-test/0.0.1/package
npm linkMain reid-test-0.0.1
npm linkLib reid-test-0.0.1
npm linkBins reid-test-0.0.1
npm linkBin hellojs ./hellojs
npm linkBins succeeded
npm auto-activate another version already active
npm auto-activate to activate, do: npm activate reid-test 0.0.1
npm build Success: reid-test-0.0.1
npm ok
[rburke@gonechildren-lm 530 ~/npwhat]
$ which node
/usr/local/bin/node
[rburke@gonechildren-lm 531 ~/npwhat]
$ ls -la /usr/local
total 24
...
drwxr-xr-x 72 rburke wheel 2448 Jun 4 15:37 bin
[rburke@gonechildren-lm 500 ~]
$ ls -la /usr/local/bin
total 2744
drwxr-xr-x 72 rburke wheel 2448 Jun 4 15:37 .
drwxr-xr-x 14 rburke wheel 476 Apr 2 16:35 ..
lrwxr-xr-x 1 rburke wheel 35 Jun 4 12:26 activate -> ../Cellar/narwhal/HEAD/bin/activate
lrwxr-xr-x 1 rburke wheel 40 Jun 4 12:26 activate.bash -> ../Cellar/narwhal/HEAD/bin/activate.bash
lrwxr-xr-x 1 rburke wheel 27 Jun 4 11:44 ant -> ../Cellar/ant/1.8.1/bin/ant
lrwxr-xr-x 1 rburke wheel 31 Jun 4 11:44 ant.bat -> ../Cellar/ant/1.8.1/bin/ant.bat
lrwxr-xr-x 1 rburke wheel 31 Jun 4 11:44 ant.cmd -> ../Cellar/ant/1.8.1/bin/ant.cmd
lrwxr-xr-x 1 rburke wheel 30 Jun 4 11:44 antRun -> ../Cellar/ant/1.8.1/bin/antRun
lrwxr-xr-x 1 rburke wheel 34 Jun 4 11:44 antRun.bat -> ../Cellar/ant/1.8.1/bin/antRun.bat
lrwxr-xr-x 1 rburke wheel 33 Jun 4 11:44 antRun.pl -> ../Cellar/ant/1.8.1/bin/antRun.pl
lrwxr-xr-x 1 rburke wheel 34 Jun 4 11:44 antenv.cmd -> ../Cellar/ant/1.8.1/bin/antenv.cmd
lrwxr-xr-x 1 rburke wheel 137 Jun 11 2009 appcfg.py -> /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/appcfg.py
-rwxr-xr-x 1 rburke wheel 13353 Jun 4 11:38 brew
lrwxr-xr-x 1 rburke wheel 146 Jun 11 2009 bulkload_client.py -> /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/bulkload_client.py
lrwxr-xr-x 1 rburke wheel 141 Jun 11 2009 bulkloader.py -> /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/bulkloader.py
lrwxr-xr-x 1 rburke wheel 35 Apr 2 16:39 certtool -> ../Cellar/gnutls/2.8.5/bin/certtool
lrwxr-xr-x 1 rburke wheel 47 Oct 29 2009 cisco_cert_mgr -> /private/opt/cisco-vpnclient/bin/cisco_cert_mgr
lrwxr-xr-x 1 rburke wheel 41 Apr 28 11:06 class-dump -> ../Cellar/class-dump/3.3.1/bin/class-dump
lrwxr-xr-x 1 rburke wheel 35 Jun 4 12:26 codesign -> ../Cellar/narwhal/HEAD/bin/codesign
lrwxr-xr-x 1 rburke wheel 43 Jun 4 11:44 complete-ant-cmd.pl -> ../Cellar/ant/1.8.1/bin/complete-ant-cmd.pl
lrwxr-xr-x 1 rburke wheel 144 Jun 11 2009 dev_appserver.py -> /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/dev_appserver.py
lrwxr-xr-x 1 rburke wheel 38 Apr 2 16:36 dumpsexp -> ../Cellar/libgcrypt/1.4.5/bin/dumpsexp
lrwxr-xr-x 1 rburke wheel 44 May 19 15:19 easy_install -> ../Cellar/setuptools/0.6c11/bin/easy_install
lrwxr-xr-x 1 rburke wheel 48 May 19 15:19 easy_install-2.6 -> ../Cellar/setuptools/0.6c11/bin/easy_install-2.6
lrwxr-xr-x 1 rburke wheel 34 Jun 4 11:44 envset.cmd -> ../Cellar/ant/1.8.1/bin/envset.cmd
lrwxr-xr-x 1 rburke wheel 45 Apr 21 12:29 event_rpcgen.py -> ../Cellar/libevent/1.4.13/bin/event_rpcgen.py
lrwxr-xr-x 1 rburke wheel 32 Mar 29 16:27 fondu -> ../Cellar/fondu/060102/bin/fondu
lrwxr-xr-x 1 rburke wheel 27 Jan 7 12:20 git -> ../Cellar/git/1.6.6/bin/git
lrwxr-xr-x 1 rburke wheel 37 Jan 7 12:20 git-cvsserver -> ../Cellar/git/1.6.6/bin/git-cvsserver
lrwxr-xr-x 1 rburke wheel 40 Jan 7 12:20 git-receive-pack -> ../Cellar/git/1.6.6/bin/git-receive-pack
lrwxr-xr-x 1 rburke wheel 33 Jan 7 12:20 git-shell -> ../Cellar/git/1.6.6/bin/git-shell
lrwxr-xr-x 1 rburke wheel 42 Jan 7 12:20 git-upload-archive -> ../Cellar/git/1.6.6/bin/git-upload-archive
lrwxr-xr-x 1 rburke wheel 39 Jan 7 12:20 git-upload-pack -> ../Cellar/git/1.6.6/bin/git-upload-pack
lrwxr-xr-x 1 rburke wheel 28 Jan 7 12:20 gitk -> ../Cellar/git/1.6.6/bin/gitk
lrwxr-xr-x 1 rburke wheel 37 Apr 2 16:39 gnutls-cli -> ../Cellar/gnutls/2.8.5/bin/gnutls-cli
lrwxr-xr-x 1 rburke wheel 43 Apr 2 16:39 gnutls-cli-debug -> ../Cellar/gnutls/2.8.5/bin/gnutls-cli-debug
lrwxr-xr-x 1 rburke wheel 38 Apr 2 16:39 gnutls-serv -> ../Cellar/gnutls/2.8.5/bin/gnutls-serv
lrwxr-xr-x 1 rburke wheel 40 Apr 2 16:35 gpg-error -> ../Cellar/libgpg-error/1.7/bin/gpg-error
lrwxr-xr-x 1 rburke wheel 47 Apr 2 16:35 gpg-error-config -> ../Cellar/libgpg-error/1.7/bin/gpg-error-config
lrwxr-xr-x 1 rburke wheel 37 Apr 2 16:36 hmac256 -> ../Cellar/libgcrypt/1.4.5/bin/hmac256
lrwxr-xr-x 1 rburke wheel 41 Oct 29 2009 ipseclog -> /private/opt/cisco-vpnclient/bin/ipseclog
lrwxr-xr-x 1 rburke wheel 29 Jun 4 12:26 js -> ../Cellar/narwhal/HEAD/bin/js
-rwxr-xr-x 1 rburke wheel 1821 Apr 7 11:00 jslint
lrwxr-xr-x 1 rburke wheel 31 Jun 4 12:26 json -> ../Cellar/narwhal/HEAD/bin/json
lrwxr-xr-x 1 rburke wheel 31 Jun 4 11:44 lcp.bat -> ../Cellar/ant/1.8.1/bin/lcp.bat
lrwxr-xr-x 1 rburke wheel 46 Apr 2 16:36 libgcrypt-config -> ../Cellar/libgcrypt/1.4.5/bin/libgcrypt-config
lrwxr-xr-x 1 rburke wheel 50 Oct 27 2008 mate -> /Applications/TextMate.app/Contents/Resources/mate
-rwxr-xr-x 1 rburke wheel 2179 Jul 16 2008 mvim
lrwxr-xr-x 1 rburke wheel 34 Jun 4 12:26 narwhal -> ../Cellar/narwhal/HEAD/bin/narwhal
lrwxr-xr-x 1 rburke wheel 30 Jun 4 15:06 node -> ../Cellar/node/0.1.97/bin/node
lrwxr-xr-x 1 rburke wheel 35 Jun 4 15:06 node-repl -> ../Cellar/node/0.1.97/bin/node-repl
lrwxr-xr-x 1 rburke wheel 34 Jun 4 15:06 node-waf -> ../Cellar/node/0.1.97/bin/node-waf
lrwxr-xr-x 1 rburke wheel 28 Jun 4 15:06 npm -> ../Cellar/npm/0.1.13/bin/npm
lrwxr-xr-x 1 rburke wheel 27 May 19 15:19 pip -> ../Cellar/pip/0.6.3/bin/pip
lrwxr-xr-x 1 rburke wheel 34 Apr 2 16:39 psktool -> ../Cellar/gnutls/2.8.5/bin/psktool
lrwxr-xr-x 1 rburke wheel 33 Jun 4 11:44 runant.pl -> ../Cellar/ant/1.8.1/bin/runant.pl
lrwxr-xr-x 1 rburke wheel 33 Jun 4 11:44 runant.py -> ../Cellar/ant/1.8.1/bin/runant.py
lrwxr-xr-x 1 rburke wheel 33 Jun 4 11:44 runrc.cmd -> ../Cellar/ant/1.8.1/bin/runrc.cmd
lrwxr-xr-x 1 rburke wheel 30 Jun 4 12:26 sea -> ../Cellar/narwhal/HEAD/bin/sea
lrwxr-xr-x 1 rburke wheel 34 Apr 2 16:39 srptool -> ../Cellar/gnutls/2.8.5/bin/srptool
lrwxr-xr-x 1 rburke wheel 55 Jul 25 2008 sshfs -> /Applications/sshfs.app/Contents/Resources/sshfs-static
-rwxr-xr-x@ 1 rburke wheel 1029440 Oct 20 2008 synergyc
lrwxr-xr-x 1 rburke wheel 27 Apr 21 12:30 tmux -> ../Cellar/tmux/1.2/bin/tmux
lrwxr-xr-x 1 rburke wheel 31 Jun 4 12:26 tusk -> ../Cellar/narwhal/HEAD/bin/tusk
lrwxr-xr-x 1 rburke wheel 32 Mar 29 16:27 ufond -> ../Cellar/fondu/060102/bin/ufond
lrwxr-xr-x 1 rburke wheel 4 Oct 17 2008 vi -> mvim
lrwxr-xr-x 1 rburke wheel 4 Oct 17 2008 vim -> mvim
-rwxr-xr-x 1 rburke wheel 276 May 19 15:20 virtualenv
lrwxr-xr-x 1 rburke wheel 46 Oct 29 2009 vpn_uninstall -> /private/opt/cisco-vpnclient/bin/vpn_uninstall
lrwxr-xr-x 1 rburke wheel 42 Oct 29 2009 vpnclient -> /private/opt/cisco-vpnclient/bin/vpnclient
-rwxr-xr-x@ 1 rburke wheel 71412 Aug 5 2008 wkpdf
[rburke@gonechildren-lm 501 ~]
$ ls -la /usr/local/bin | grep hellojs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment