I have been following the steps on this I got as far as
npm install -g express-generator
but then nothing happens when I try to create an express project. I go to the directory I want it to be in and type
express nodetest1
and nothing happens. It just returns to the next line. It seems like everything installed correctly.
Edit: My link was to the wrong tutorial. This is the right one now.
Did you try starting the server? The express-generator only generates the project.
Change to the directory of the created project and do npm install followed by npm start to start the server.
Turns out it was caused by nodejs, not Express. When I installed the latest version usinv nvm instead of apt-get, express started working.
What you want is
npm install -g express
There is a generator included in the main package.
So then you can use
express nodetest1
and everything works!