Skip to content

armgit / flix

Public Imported from GitHub
0

Making an ESP32-based quadcopter from scratch

Add proper command to install arduino-cli on Linux in instructions

Oleg Kalachev33adf33f0e46
diff --git a/docs/build.md b/docs/build.md
index 47583e6..e4a14f5 100644
--- a/docs/build.md
+++ b/docs/build.md
@@ -118,6 +118,13 @@ The latest version of Ubuntu supported by Gazebo 11 simulator is 20.04. If you h
### Command line (Windows, Linux, macOS)
1. [Install Arduino CLI](https://arduino.github.io/arduino-cli/installation/).
+
+ On Linux, use:
+
+ ```bash
+ curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/.local/bin sh
+ ```
+
2. Windows users might need to install [USB to UART bridge driver from Silicon Labs](https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers).
3. Compile the firmware using `make`. Arduino dependencies will be installed automatically: