The installation of NodeJS, NPM, Bower, Git, Grunt, Ruby, SASS and Compass in Ubuntu and other Debian based system is an easy task. These script are very important to boost the development of apps, themes for wordpress and other platforms. We can automate lots of things in development. In development we need many repeated and updated packages like Jquery, JqueryUI, Html5 Boilerplate, Sliders like Flex-Slider, Bootstrap and so on. So when we start a new project then we include all packages manually in the project. These tasks take lots of time. So we can uses NodeJS, NPM, Bower,, Git, Grunt, Ruby, SASS, Compass and other packages to automate our project’s development process and can save lots of time.
So lets start the installation of these packages in the Ubuntu or other Debian systems via terminal commands. Installation of the NodeJS
Open the terminal via “Ctrl+Alt+T” and type following command.
sudo apt-get install nodejs
Installation of the NPM
sudo apt-get install npm
Installation of the Bower
sudo npm install -g bower
Installation of the Grunt-CLI
sudo npm install -g grunt-cli
Install compass for Ruby-full, Rubygems, SASS & Compass
If package is missing rubygems Download using this instructions
sudo apt-get install ruby-full build-essential
sudo apt-get install rubygems
sudo gem install sass
sudo gem install compass
After installation of all the packages check the versions of the packages one by one as shown in the figure. If there are errors related to node and git like below.
Figure of errors
After installing bower if you check version of bower via bower -v in command line then an error like
ENOGIT git is not installed or not in the PATH<
Then install the git in the system using following command.
sudo apt-get install git
For the error of symbolic link for node : Create a symbolic link for node, as many Node.js tools use this name to execute. , run the following command.
sudo ln -s /usr/bin/nodejs /usr/bin/node
Now check the version one by one as shown in the figure.