Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dyslexictech/3dc1d1c4e4db34d2955d2c548da95f8c to your computer and use it in GitHub Desktop.
Save dyslexictech/3dc1d1c4e4db34d2955d2c548da95f8c to your computer and use it in GitHub Desktop.

Revisions

  1. @massahud massahud revised this gist Jul 25, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Portable Node.js andNPM on windows.md
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,6 @@
    5. Download the last tgz version of npm from http://nodejs.org/dist/npm
    6. Open the tgz file and unpack only the file **bin/npm** (without extension) directly on the node folder.
    7. Add the the node folder and the packages/bin folder to PATH
    8. On a command prompt execute ```npm install -g npm to update npm``` to the latest version
    8. On a command prompt execute ```npm install -g npm``` to update npm to the latest version

    Now you can use npm and node from windows cmd or from bash shell like Git Bash of msysgit.
  2. @massahud massahud revised this gist Jul 25, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Portable Node.js andNPM on windows.md
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,6 @@
    5. Download the last tgz version of npm from http://nodejs.org/dist/npm
    6. Open the tgz file and unpack only the file **bin/npm** (without extension) directly on the node folder.
    7. Add the the node folder and the packages/bin folder to PATH
    8. On a command prompt execute npm install -g npm to update npm to the latest version
    8. On a command prompt execute ```npm install -g npm to update npm``` to the latest version

    Now you can use npm and node from windows cmd or from bash shell like Git Bash of msysgit.
  3. @massahud massahud revised this gist Jul 25, 2016. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Portable Node.js andNPM on windows.md
    Original file line number Diff line number Diff line change
    @@ -4,5 +4,7 @@
    4. Unpack the zip inside the node folder
    5. Download the last tgz version of npm from http://nodejs.org/dist/npm
    6. Open the tgz file and unpack only the file **bin/npm** (without extension) directly on the node folder.
    7. Add the the node folder and the packages/bin folder to PATH
    8. On a command prompt execute npm install -g npm to update npm to the latest version

    Now you can use npm and node from windows cmd or from bash shell like Git Bash of msysgit.
  4. @massahud massahud renamed this gist Jan 9, 2015. 1 changed file with 0 additions and 0 deletions.
  5. @massahud massahud renamed this gist Jan 9, 2015. 1 changed file with 0 additions and 0 deletions.
  6. @massahud massahud created this gist Jan 9, 2015.
    8 changes: 8 additions & 0 deletions Portable Node.js andNPM on windows
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    1. Get node binary (node.exe) from http://nodejs.org/download/
    2. Create the folder where node will reside and move node.exe to it
    3. Download the last zip version of npm from http://nodejs.org/dist/npm
    4. Unpack the zip inside the node folder
    5. Download the last tgz version of npm from http://nodejs.org/dist/npm
    6. Open the tgz file and unpack only the file **bin/npm** (without extension) directly on the node folder.

    Now you can use npm and node from windows cmd or from bash shell like Git Bash of msysgit.