Changes

Jump to navigation Jump to search
3 bytes added ,  12:53, 18 June 2015
→‎Updating: add '-L' to curl for finding RELEASE
Line 36: Line 36:     
The commands below will identify the latest release of nodejs, then download, recompile, and install:
 
The commands below will identify the latest release of nodejs, then download, recompile, and install:
  RELEASE=$(curl -s http://nodejs.org/download/ |grep Current\ version |awk -F"[><]" '{print $5}')
+
  RELEASE=$(curl -s -L http://nodejs.org/download/ |grep Current\ version |awk -F"[><]" '{print $5}')
 
  cd /var/git/node
 
  cd /var/git/node
 
  git reset --hard
 
  git reset --hard

Navigation menu