Skip to content

Instantly share code, notes, and snippets.

@lismore
Last active December 21, 2015 23:47
Show Gist options
  • Save lismore/e89c108b9178f907052f to your computer and use it in GitHub Desktop.
Save lismore/e89c108b9178f907052f to your computer and use it in GitHub Desktop.
Correct NodeJS on Kali Linux to work with Yeoman
#The NODEJS on Kali 2.0 gives issues when trying to install Yeoman for buliding ASP.NET 5
#
# You may see output in the console like this
# root@kalilinux:~# npm install -g yo bower grunt-cli gulp
# npm WARN engine yo@1.5.0: wanted: {"node":">=0.12.0"} (current: {"node":"0.10.29","npm":"1.4.21"})
# correct nodejs with right version on Kali Linux 2.0
sudo apt-get install -y curl
curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -
sudo apt-get install -y nodejs
#install Yeoman , bower , grunt and guip
npm install -g yo bower grunt-cli gulp
# When installed correctly the following will be seen in the terminal output
## ✔ Global configuration file is valid
## ✔ NODE_PATH matches the npm root
## ✔ Node.js version
## ✔ No .bowerrc file in home directory
## ✔ No .yo-rc.json file in home directory
## ✔ npm version
## Everything looks all right!
#install aspnet generators for Yeoman to easily and quickly scaffold Asp.Net 5 applcations
npm install -g generator-aspnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment