
=> Press enter to continueĮntry point: (index.js) app.js (“app.js” is a name of start-up file or you can give it as you wish). => Press enter to continueĭescription: This is my first node project. Version: (1.0.0) 1.0.0 (Set project version as you wish).

Package name: (myfirstproject) pkgnode (“pkgnode” is a name of package given by me or you can give it as you wish). Npm init can be used to set up a new or existing npm package or you can simply Google exactly what they do.Īfter pressing enter key it will ask for package name and other setup details as follows: Open Command Prompt-> Go To MyFirstProject by command cd likeĭ:\Workspace\Clients\dev-parveen\node_projects>cd MyFirstProjectĭ:\Workspace\Clients\dev-parveen\node_projects\MyFirstProject>npm initĭ:\Workspace\Clients\dev-parveen\node_projects\MyFirstProject>npm init ->Press Enter Let’s get started by creating the simplest Node.js Express application, “Let’s Start with Node.js”.ĭownload the Node.js source code or a pre-built installer for your platform._ an empty folder called “MyFirstProject” or any name as you wish.
Visual studio code node js instal command not recognized install#
However, to run a Node.js application, you will need to install the Node.js runtime on your machine. Visual Studio Code has support for the JavaScript and TypeScript languages out-of-the-box as well as Node.js debugging.

Node.js is the runtime and npm is the Package Manager for Node.js modules. Node.js is a platform for building fast and scalable server applications using JavaScript.
