node.jsexpressexpress-generator

Install express-generator without global attribute


I am working on a VPS through Dreamhost and they do not allow the use of sudo so I can not install express-generator globally. I really like all the files that express initiates when calling the express command. Is there a way to install express-generator without the global attribute or a way to get all the files that the command express initializes?


Solution

  • Remember when you npm install x then there's always the option of running whatever it installed via node_modules/x/bin/x if that's the name of the shell command it installs.