- Sign Up
- You're now a developer, congrats!
tl;dr Git is like video game save points for coding. It is a separate service from Github, but they work closely together.
- Open the terminal
cmd + spacebar
> "terminal" >enter
- Enter the following:
git --version
If you don't have it installed already, you will receive an installation prompt Follow those instructions.
tl;dr Node Version Manager (NVM) handles installing a different version of Node, and managing said version (SUPRISE!). It's a Javascript runtime. WTF is that? It makes Javascript work like any scripting language such as Python, Ruby, Java, etc. Still doesn't make sense? Ask me, but know it doesn't matter for this setup.
- Open terminal
- Copy/Paste the following, then hit enter:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
To verify that nvm was installed, do:
command -v nvm
which should output nvm if the installation was successful.
To download, compile, and install Node's latest release, run the following within your terminal:
nvm install node
To verify that Node was installed, do:
node --v
which should output a version number, e.g. v11.13.0
.
Node Package Manager (NPM) allows you to download code other people have written! It's dope.
NPM is included with installations of Node, so if I didn't lead you astray, you should now have NPM. To verify that NPM was installed, do:
npm -v
which should output a version number, e.g. 6.7.0
.