To keep things organized in the course, you need to set up a folder, or directory structure for Team Edge. Open the Terminal and make a directory, if you haven 't already. Your coach will instruct you where to create this directory.
$ mkdir TeamEdge
Now navigate there and create a new Term1 folder
$ cd TeamEdge
$ mkdir Term1
During Term 1, we will be using Node.js to learn programming with JavaScript.
Your computer should already have Node installed. If not, or if you are using your own machine, you can install it yourself. Simply go to the link below, then download and install the version for your operating system. Be sure to select the LTS version.
Node.js download link: https://nodejs.org/en/
When you're done installing Node or to check if you have it installed, open a terminal and enter this command:
node -v
You should see the version of Node that is currently installed on your machine (v12.16.1 is the latest LTS release as of this writing).
Installing Node also automatically installs npm, or "Node Package Manager". We'll be using npm to install various Node "plugins" that let us do cool things, like get user input.
First, we initialize npm for our Term 1 folder, since that's where all the packages will go.
In your terminal, change directory to your Term1.
Enter this command: npm init --yes
We will be using readline-sync to get what users type in as input, which will allow our programs to be very interactive.
In your terminal, change directory to TeamEdge/ Term1 (if you aren't already there).
Enter this command: npm install readline-sync
You're now ready to go! Have fun!