$ sudo npm install -g express
the installation goes fine. But when I try to create a project with express as $ express myProject
I get an error saying
: The program 'express' is currently not installed. You can install it by typing: sudo apt-get install node-express
The new version of Express (4.0) does not itself have a bin folder. You have to install express-generator to get the setup functionality.
You are not doing anything wrong. Express has just changed the way it works. Have a look at this answer.
With Express 4, the application generator was removed and is now available as 'express-generator.' So you need to npm install -g express-generator
instead.