Install Dependencies
1. Update the OS
Even if you just installed from a freshly made disk image, it's a good idea to check for OS updates.
2. Install Command Line Tools
If the arduino-cli command is not found after installation
If the arduino-cli command is not found after installation, you'll need to update your PATH variable to include the directory containing the arduino-cli executable: /home/(YOUR_USER)/bin
3. Update Board Index
4. Install Core Support Files
Note: This guide assumes an Arduino Uno, with the correct core being arduino:avr. To determine the core for another board, run arduino-cli board listall to see a list of all supported boards.
5. Install AVRDUDE
Installing core support files should also install AVRDUDE, another command-line tool we'll need. Ensure AVRDUDE is installed and recognized.
If avrdude is not found
If avrdude is not found, you'll need to update your PATH variable to include the directory for it. It will likely look similar (but likely with different version numbers) to: /home/(YOUR_USER)/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin "