12

I just downloaded the Node.js tools for Visual Studio and I can't find a way to open a Console window from inside VS.

It's useful to trigger npm commands like install, run build...

I know I could do it from the outside but I miss how easy it is in WebStorm, for instance.

jpw
  • 44,361
  • 6
  • 66
  • 86
Andre Pena
  • 56,650
  • 48
  • 196
  • 243

1 Answers1

7

You can run npm from the interactive node.js window using the .npm command.

Or you can right-click on the node.js project and chose "Open Command Prompt Here" to open a console window to run npm.

Or you can right click on the npm node in the project and use the gui tool for managing packages.

The NTVS team has a video where they talk about the npm support:

And there's also a page on the npm support in the NTVS documentation.

jpw
  • 44,361
  • 6
  • 66
  • 86