Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 718 Bytes

README.md

File metadata and controls

25 lines (19 loc) · 718 Bytes

NodeJS Setup for WTC

This bash script allows students at WeThinkCode to be able to use NodeJS on the macs

To Install

sh -c "$(curl -fsSL https://raw.githubusercontent.com/lancechant/WTC_Node-Install/master/node.sh)"
once that is complete please go to into the the node folder then deps/npm/bin/ and open the npm executable in a text editor

change these
NPM_CLI_JS="$basedir/node_modules/npm/bin/npm-cli.js"
NPM_PREFIX_NPM_CLI_JS="$NPM_PREFIX/node_modules/npm/bin/npm-cli.js"
to this
NPM_CLI_JS="$basedir/npm-cli.js"
NPM_PREFIX_NPM_CLI_JS="$NPM_PREFIX/npm-cli.js"

How it Works

This downloads the nodejs source code and installs it onto your freshly reset Mac.