Skip to content

Commit

Permalink
New: Install node via nvs and use windows-build-tools
Browse files Browse the repository at this point in the history
* Use `nvs` to install LTS and latest version of node.
* Install `windows-build-tools` instead of independent packages for
  building node binary packages.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Ref: microsoft#46
  • Loading branch information
molant committed Jun 18, 2018
1 parent 725c4da commit fb1a837
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions dev_web_nodejs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,16 @@ choco install -y inconsolata
# choco install -y ubuntu.font

#--- Tools ---
choco install -y nodejs-lts # Node.js LTS, Recommended for most users
# choco install -y nodejs # Node.js Current, Latest features
choco install -y visualstudio2017buildtools
choco install -y visualstudio2017-workload-vctools
choco install -y nvs
refreshenv
nvs install latest
nvs install lst
nvs link lts
npm install -g windows-build-tools

choco install -y sysinternals
choco install -y docker-for-windows
choco install -y python2 # Node.js requires Python 2 to build native modules
# choco install -y python2 # Node.js requires Python 2 to build native modules

Enable-UAC
Enable-MicrosoftUpdate
Expand Down

0 comments on commit fb1a837

Please sign in to comment.