From a8a797fd45a8151ffb13faf84b5ee0f48e55acc0 Mon Sep 17 00:00:00 2001 From: Oskar Weigl Date: Fri, 22 Jun 2018 14:43:52 -0700 Subject: [PATCH] Update getting-started.md --- docs/getting-started.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 2036796b..b0953831 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -82,20 +82,25 @@ Most instructions in this guide refer to a utility called `odrivetool`, so you s ### OSX +We are going to run the following commands for installation in Terminal. 1. If you don't already have it, install homebrew: -```sh +```bash /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" ``` 2. Install python: -```sh +```bash brew install python ``` 3. If you get the error: `Error: python 2.7.14_2 is already installed`, then upgrade to Python 3 by running: -```sh +```bash brew upgrade python ``` -4. Now that you have Python 3 and all the package managers, run: -```sh +4. The odrive tools uses libusb to communicate to the ODrive: +```bash +brew install libusb +``` +5. Now that you have Python 3 and all the package managers, run: +```bash pip3 install odrive ```