# Install cpplint
sudo apt install cpplint
# Install arduino-cli
mkdir -p ~/.bin/arduino-cli
curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/.bin/arduino-cli/ sh
Add arduino-cli
path:
Open .bashrc
file and add the following lines:
# Export arduino-cli path
export PATH="$PATH:$HOME/.bin/arduino-cli"
Apply the changes with source .bashrc
command
# Update database
arduino-cli core update-index
# Search cores by name (example: digispark)
arduino-cli core search digispark
# Search available boards by name (example: digispark)
arduino-cli board listall digispark