JavaScript: Setting up a JavaScript Development Environment

Learn how to setup a local development environment for JavaScript and the tools needed to get up and running

  • ERT:

Setting up a development environment for JavaScript can vary depending on your specific needs and operating system.

Windows

For windows users, here are some general steps:

Code Editor

You’ll need a code editor to write and edit your JavaScript code. Popular options includes:

Download and install the code editor of your choice. But Visual Studio Code is highly recommended.

Note:

Don't code with nano, Notepad, Notepad++ or Gedit.

You can also install the following extensions in Visual Studio Code

Node.js

Node.js is a JavaScript runtime that allows you to run JavaScript code on your computer.

Download and install the “Recommended For Most Users” version of Node.js from the official website.

Note:

For some windows systems, you must re-start your system after installing Node.js

Don't install any version less than the latest "Recommended For Most Users" version.

Node package manager npm will be automatically installed when you installed Node.js. It also comes with npx as well.

Other Operating Systems

Please visit Node.js installation instructions. for other systems

...

A Kamariana
A Kamariana
Teacher and Design Engineer

Join our community

Join over 7 people solving algorithms, supporting each other, and chatting about all things algorithms!