Forrest logo
back to the arduino tool


arduino: Save any (changed) preferences to `preferences.txt`.
$ arduino --save-prefs
try on your machine

The command "arduino --save-prefs" is often used in command-line interface environments to save the Arduino preferences. Arduino is an open-source electronics platform that allows users to create interactive projects.

When the "--save-prefs" option is added to the "arduino" command, it triggers the saving of preferences. Preferences in Arduino include settings related to the Board, Serial Port, Programmer, Compiler warnings, and more.

By running this command, any modifications made to the Arduino preferences will be saved, ensuring that the desired preferences are retained for future Arduino projects.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the arduino tool