Tuesday, August 4, 2015

Creating Javascript development environment on windows

Install Client-Side Tools

Install Git Bash 

Install npm

  • The best way to install npm is to install node using the node.js installer. npm is installed as part of node. node.js site: https://nodejs.org/
  • Once you’ve installed node.js, you can make sure you’ve got the very most recent version of npm using npm itself, open Git Bash and enter:
    npm install npm –g

Install Bower

  • Bower is a command line utility. Install it with npm, open Git Bash and enter:
    npm install -g bower

Install Grunt CLI

  • Open Git Bash and enter:
    npm install -g grunt-cli
  • This will put the grunt command in your system path, allowing it to be run from any directory.
  • Note that installing grunt-cli does not install the Grunt task runner! The job of the Grunt CLI is simple: run the version of Grunt which has been installed next to a Gruntfile. This allows multiple versions of Grunt to be installed on the same machine simultaneously.

2 comments: