

You can run Linux distributions on Windows and install Node.js into the Linux environment. Windows Subsystem for Linux: If you are on Windows, WSL is a great way to do Node.js development. See Installing Node.js via package manager to find the Node.js package and installation instructions tailored to your version of Linux. Linux: There are specific Node.js packages available for the various flavors of Linux. To test that you have Node.js installed correctly on your computer, open a new terminal and type node -version and you should see the current Node.js version installed. You'll need to open a new terminal (command prompt) for the node and npm command-line tools to be on your PATH. The Node Package Manager is included in the Node.js distribution. To get started in this walkthrough, install Node.js for your platform. 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.

Once you hit enter, VS Code will now is a platform for building fast and scalable server applications using JavaScript. Once your terminal is open, you can open VS Code from it by typing $ code. One way of opening your terminal is hitting the command button and the spacebar at the same time. You can open your terminal in a few ways. How to Open VS Code from the Terminalįirst, open up your terminal. Now you can open VS Code from your terminal. Once you hit enter, voilà! You're all done. When you type shell, your editor should look like this: Next, into the command palette type shell and hit enter. This will allow you to customize your VS Code settings, among other things. What we've done here is opened up the VS Code command palette.


Once you have VS Code open, it should look like this: VS Code is a popular text editor created by Microsoft. If you don't have VS Code yet, you can download it here. The first thing you'll need to do is open up VS Code. Opening your text editor from your terminal is a quick, easy way to open up new projects and begin coding faster. In this tutorial, we'll go over how you can open the VS Code text editor (Visual Studio Code) from your Mac terminal.
