Dev Environment Setup

Intro

You will need a computer at home in order to complete this class (sorry, iPads or other tablets won’t work). If you do not have a computer, please contact Prof Stein as soon as possible.

Below are instructions on how to set up the development environment we will be using depending on the operating system of your computer. If you do not know which operating system your computer is using, also contact Prof Stein.

The main things we are installing are:

  • Visual Studio Code (VS Code) which is our code editor
  • NVM (Node Version Manager)
  • Node
  • Git

OS-specific Install Instructions

Windows
Windows

The most common OS. If you don’t have an Apple device or a Chromebook, this is it.

macOS
macOS

Apple laptops and desktops.

Chrome OS
Chrome OS

You will have this if you have a Chromebook.

Linux
Linux

Used by most servers and few people. You probably have experience with installing software.

Overall Process

How to Set up You Home Dev Environment

This is an overview of the process for setting up a dev environment on your personal computer. Above are versions of this that you should use depending on your operating system. This is a generic version we can talk about in class.

Step 1: Install VS Code

VS Code is the code editor we will use in class. It’s made by Microsoft but it’s free, cross platform and integrates well with what we are doing.

Step 2: Command Line

The command line is an important part of the web developers toolkit and is the interface for a number of tools we will use to help make our sites. It’s built in to Linux and macOS but it will require a few steps to set up on Windows or Chrome OS.

Step 3: Install NVM

This is the Node Version Manager and will be used to install Node (next step).

Step 4: Install Node

Node is a handy tool that gives you access to a lock of command line developer tools. If you have ever seen a tutorial that started “It’s easy just npm install myThingy” and had no idea what that really meant, this will let you do that.

Step 5: Install Git

Git is the version control system we will use and the most popular one in the industry.

Step 6: Integrate Command Line with VS Code

On Windows and macOS, you will take an extra step to make sure VS Code uses the same command line you updated or installed earlier.