As we all know, every programming language has a specific environment to execute. JavaScript follows the same approach. But, up until 2015 JavaScript was linked up with an HTML page and was executed by a browser. JavaScript code is now executed on any machine because of the invention of Node.js, therefore we are no longer required to run it in a browser. So, we will install Node.js from the beginning and execute JavaScript code in the Terminal.
To install Node.js Click Here and download any version. It has to be installed on your computer after downloading. Its installation process is the same as that of the other ten applications.
Then, you must download and install a Code Editor. If you'd like, you can download VS Code, which I use. Download VS Code by clicking here.
After that, you should need a Terminal. You can use Windows Default Terminal cmd or PowerShell if you'd like, but the problem, in this case, is that not all Commands are supported in cmd or PowerShell. So you can install Git-Bash because Git-Bash can be used on all operating systems. Click here to install Git-Bash.
You are now ready to start coding. To start your first JavaScript code, click here.

