Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 1.02 KB

File metadata and controls

46 lines (29 loc) · 1.02 KB

Unit 2 OSX installfest

Node

To install Node

brew install node

Verify the installation afterwards by running

node -v
npm -v

The above should display without any errors.

To finish up your installation, run this command to allow for global installations of npm tools.

sudo chown -R $USER /usr/local/lib

Postgres

Postgres.app

We will be using a relational database called Postgres during our class.

Download and install from http://postgresapp.com/

Open up your .zshrc file in your Code editor (code ~/.zshrc for VS code) Your editor will popup with configuration settings, at the bottom of the file append

export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin

Save the file and either restart your terminal or write source ~/.zshrc to apply your changes. To check if it worked, type which psql in your terminal at which point should display:

/Applications/Postgres.app/Contents/Versions/9.5/bin/psql