Setup Development Environment
|Setup Development Environment|
To begin, we should ensure that we've set up an IDE (Integrated Development Environment) to develop with.
The IDE that I will use is VSCode. If you also use VSCode then what you will see, will more closely match what I show in the videos.
If you don't have VSCode already installed, then you can install it from https://code.visualstudio.com.
Also, it is useful, but not essential, to be able to start VSCode from the command line.
We can check it is available from the command line by typing
The response should indicate a version number, plus several other bits of information.
We also need Node.js, which includes NPM, since we will be using the
To check if Node.js is already installed, open a cmd/terminal/shell prompt and type,
You should get a response indicating a version number.
Your version should be equal to or higher than
We can also check the version of NPM,
You want to see no error, but instead a version number equal to, or higher than
If either of those two commands returned an error indicating that they were unrecognized, or the versions numbers were lower than required, then you can install the latest LTS (long term support) version of Node.js from https://nodejs.org/en/
You may also want to use Git, but it is not essential yet.
You can check if Git is already installed. It usually is, by default on Linux and macOS.
You want to see a version number higher than 2.0.0, and no error indicating that the command was unrecognized.
You can install Git for Windows from https://gitforwindows.org.
If you are using macOS or Linux, then visit https://git-scm.com/downloads.