Install arduino-cli to /usr/local/bin

The Arduino docs probably has mistake offering non-existent ~/local/bin path instead of ~/.local/bin.
Some systems lack ~/.local/bin as well, so simply use /usr/local/bin.
Also install arduino-cli in CI the same way as in the docs to check them.
This commit is contained in:
Oleg Kalachev
2024-05-21 10:34:05 +03:00
parent 28da7baf61
commit b91f4d3b6d
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ cd flix
1. Install Arduino CLI:
```bash
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/local/bin sh
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=/usr/local/bin sh
```
2. Install Gazebo 11: