Skip to content

Installation guide with screenshots OSX

Dmitry Utkin edited this page Aug 24, 2016 · 1 revision

1. instal mac ports

Download and install Mac Ports https://www.macports.org/install.php

2. install bash

Mac OS X has outdated bash 3, which is not supported with ngrest.

To install recent version of bash, open terminal and enter:

sudo port install bash

After installation is finished, close all terminal windows, open a new terminal and check bash version with:

bash --version

it must be 4.3.xx or newer.

3. install ngrest

Copy and paste the line to the terminal window:

wget -qO- http://bit.ly/ngrest | bash

OSX 01

If nothing happen when you started this, try to remove q from -qO- option to see error log. If error related to sertificate you may try to disable certificate checking:

wget --no-check-certificate -qO- http://bit.ly/ngrest | bash

OSX 02

After installation is finished you can create new project: https://github.com/loentar/ngrest#create-a-new-project.