About these instructions
Whether setting up your development environment on an OSX or Ubuntu operated machine, the following instructions will be run from your computer's terminal prompt. It is also important to remember that when following these instructions, to only run one command at a time.
The beginning of a command is denoted by the
$ symbol in the instructions; some instructions have more than one command to run per step. This symbol has been placed in the instructions to dictate where a new command starts and to emphasise that these commands are to be run in your terminal prompt. As such, when copying any commands, do not include the
Install the iTerm terminal
For a better terminal experience, download iTerm here and move the downloaded program to your
Once you're done, start iTerm and carry out the remainder of the instructions using this terminal.
Paste the following command into your terminal:
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
The script explains what it will do and then pauses before it does it. What am I installing?
Install Oh My Zsh
After Homebrew has finished installing, restart iTerm. Once restarted, copy and paste the following command into your terminal:
$ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)
Install Node Version Manager (nvm)
$ xcode-select --install
$ brew install nvm
$ mkdir ~/.nvm
Next, open your zsh configuration in atom by running the following command:
$ atom ~/.zshrc
The last command should open up
.zshrc in your Atom text editor. Copy and paste the following code and add it to the next available line at the bottom of the file:
# ~/.zshrc MacOS
This code will load
nvm every time you open a new terminal session. Once you have added the code to the file, save the file and close Atom.
After that, reload your shell configuration by restarting iTerm.
nvm is installed, you will need to install the version of NodeJS that we require for your bootcamp course. Run the following commands one at a time in your terminal to install the required NodeJS version:
$ nvm install 11
$ nvm use 11
$ nvm alias default 11
With this setup, you should never have to use
sudo when installing [global]
Install NPM dependencies faster using Yarn
Congrats! You're all set up.