


The app.js project file opens in the editor in the left pane. Visual Studio creates the new solution and project, and opens the project in the right pane. In the Configure your new project dialog box, select Create. If you don't see the Basic Azure Node.js Express 4 Application choice, you need to install the Node.js development workload. Select Ctrl+ Q, enter node.js in the search box, and then select Basic Azure Node.js Express 4 Application - JavaScript from the dropdown list. Open Visual Studio, and select Esc to close the start window. You can specify the path to a local interpreter in each of your Node.js projects. In the Properties pane, set the Node.exe path to reference a global or local installation of Node.js. If not, you can configure your project to reference the installed runtime:Īfter you create a project, right-click the project node and select Properties. Visual Studio usually detects the installed Node.js runtime automatically.

Visual Studio requires only one version, and the Node.js installer only supports one version at a time. The Node.js tools in the Visual Studio Node.js workload support both Node.js 32-bit and 64-bit architecture versions. The LTS version has the best compatibility with other frameworks and libraries.

If you don't have the Node.js runtime installed, install the LTS version from the Node.js website. In the Visual Studio Installer, select the Node.js development workload, and select Modify to download and install the workload. In Visual Studio, go to Tools > Get Tools and Features. If you have Visual Studio installed already: In the Visual Studio Installer, select the Node.js development workload, and select Install. Go to the Visual Studio downloads page to install Visual Studio for free. If you haven't yet installed Visual Studio: Visual Studio with the Node.js development workload installed. This tutorial requires the following prerequisites: This tutorial uses Pug, formerly called Jade, for its front-end framework. With Express, you can use different front-end frameworks to create a user interface. The npm package manager simplifies library installation, updating, and uninstallation.Įxpress is a server web application framework that Node.js uses to build web apps. The default package manager for Node.js is npm. Node.js is a server-side JavaScript runtime environment that executes JavaScript code.Ī package manager makes it easier to publish and share Node.js source code libraries. Before you begin, here's a quick FAQ to introduce you to some key concepts:
