In this recipe, we will do the following:
- Install Homebrew by entering this command at a Terminal:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Use Homebrew to get DNVM, DNX, and DNU using the commands as follows:
$ brew tap aspnet/dnx $ brew update $ brew install dnvm $ source dnvm.sh
- Install Node.js and npm (the npm will be installed automatically with Node.js):
$ brew install node
- Verify Node.js and NPM versions:
$ node -v $ npm -v
The version currently being used will be displayed on your screen as follows:
- Install Yeoman with Gulp to help automate tasks:
$ npm ...