Setting Up Node LocallyLearn how to download Node on your local machine, so you can use the powerful Node.js runtime from your own computer.
What is Node?
Before you install Node, you’ll need to make sure you have your command line set up.
Navigate to the Node website, and download the version of Node labeled “LTS” on the main page. For additional download options, such as different operating systems and versions, you can navigate to the Node downloads page.
After your download is complete, open the downloaded installation package and follow the installation instructions.
After installation, open a new terminal window. To confirm Node was downloaded, you can run the terminal command
which node which will print the filepath to Node. You can also check which version of Node you downloaded with the
node -v terminal command.
Note: The current LTS version of Node.js is v14.17.1. The Node version used in the videos below is older, but the installation process remains the same. If the
node command is not found, try closing and reopening the terminal/Git Bash window.