Added documentation about the dependencies required to build balena-cli

Change-type: minor
Signed-off-by: Trevor Sullivan <trevor@balena.io>
This commit is contained in:
Trevor Sullivan 2018-12-27 12:33:12 -08:00 committed by Trevor Sullivan
parent 7713ca31e5
commit 64ec151e4b

View File

@ -6,6 +6,23 @@ Please make sure your system meets the requirements as specified in the [README]
## Install the CLI
### Dependencies
Before installing the Balena CLI from npm, make sure you have the following dependencies installed:
* make
* g++ compiler
* Python 2.7
* git
For example, to install these packages on a Debian-based Linux operating systems:
```
$ sudo apt-get install g++ make python git --yes
```
**NOTE**: If you are installing the stand-alone binary CLI, you will not need to install these dependencies.
### Npm install
The best supported way to install the CLI is from npm: