Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 0.43 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # this way is best if you want to stay up to date
  2. # or submit patches to node or npm
  3.  
  4. mkdir ~/local
  5. echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
  6. . ~/.bashrc
  7.  
  8. # could also fork, and then clone your own fork instead of the official one
  9.  
  10. git clone git://github.com/joyent/node.git
  11. cd node
  12. ./configure --prefix=~/local
  13. make install
  14. cd ..
  15.  
  16. git clone git://github.com/isaacs/npm.git
  17. cd npm
  18. make install # or `make link` for bleeding edge