Moving docs from PR #1055

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-31 11:58:33 -08:00 committed by GitHub
parent 8ee994ce7d
commit 2d9bb2130e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,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: