Skip to content

Instantly share code, notes, and snippets.

@jacobmoyle
Last active July 10, 2020 00:45
Show Gist options
  • Save jacobmoyle/298e638337f0d7065fdcfa559e0e54ac to your computer and use it in GitHub Desktop.
Save jacobmoyle/298e638337f0d7065fdcfa559e0e54ac to your computer and use it in GitHub Desktop.
Generative Art — Javascript & MacOS Enviroment Setup

Create a Github Profile

  1. Sign Up
  2. You're now a developer, congrats!

Install / Verify Git

tl;dr Git is like video game save points for coding. It is a separate service from Github, but they work closely together.

  1. Open the terminal
    • cmd + spacebar > "terminal" > enter
  2. Enter the following:
git --version

If you don't have it installed already, you will receive an installation prompt Follow those instructions.

Install Node Version Manager

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.

  1. Open terminal
  2. 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.

Install Node

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.

Install NPM

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment