I have a problem on npm installation
I have created a project say project A
cd ~/projectA npm install sails
but sails command is not fo
To use on the command line like sails generate foo you will need to install the npm module globally.
sails generate foo
npm install -g sails
You could also use the path to the bin in the command if you don't want to install globally:
./node_modules/sails/bin/sails.js generate foo