ARDUINO-CLI-SKETCH-ARCHIVE(1)
π arduino-cli-sketch-archive β from the ARDUINO COMMAND LINE MANUAL(1) bestie collection π
okay so. hi. you're here because you want to zip up a sketch, and honestly? iconic choice. this little command lives inside the Arduino Command Line Manual, and it's about to make a .zip file with ALL your sketch files in it. no cap. let's go π
β¨ NAME β¨
arduino-cli-sketch-archive β Creates a zip file containing all sketch files.
like literally that's the whole job. it zips. it archives. it slays. π¦
πΈ SYNOPSIS πΈ
arduino-cli sketch archive [flags]
π DESCRIPTION π
Creates a zip file containing all sketch files.
that's it bestie, that's the vibe. you point it at a sketch, it hands you back a zip. the way that it just works. π₯
π OPTIONS π
-h,--help[=false]β help for archive. your lil "wait what does this do again" button π«Ά--include-build-dir[=false]β Includes build directory in the archive. yes, the whole build dir, come along for the ride β¨-f,--overwrite[=false]β Overwrites an already existing archive. careful babe, it will absolutely replace what's already there π
π OPTIONS INHERITED FROM PARENT COMMANDS π
these ones come from the parent command, they're not technically this command's kids but they show up anyway. found family energy fr fr π
--additional-urls=[]β Comma-separated list of additional URLs for the Boards Manager.--config-dir=""β Sets the default data directory (Arduino CLI will look for configuration file in this directory).--config-file=""β The custom config file (if not specified the default will be used).--json[=false]β Print the output in JSON format.--log[=false]β Print the logs on the standard output.--log-file=""β Path to the file where logs will be written.--log-format="text"β The output format for the logs, can be:text,json--log-level="info"β Messages with this level and above will be logged. Valid levels are:trace,debug,info,warn,error,fatal,panic--no-color[=false]β Disable colored output.
β EXAMPLE β
look at these little demos. so clean. so effortless. main character energy, every single one π§
debian/build/bin/arduino-cli archive
debian/build/bin/arduino-cli archive .
debian/build/bin/arduino-cli archive . MySketchArchive.zip
debian/build/bin/arduino-cli archive /home/user/Arduino/MySketch
debian/build/bin/arduino-cli archive /home/user/Arduino/MySketch /home/user/MySketchArchive.zip
π¦ SEE ALSO π¦
arduino-cli-sketch(1)β the parent, the origin, the one who raised this command π
π HISTORY π
15-Aug-2026β Auto generated by spf13/cobra
lowkey a tiny note: this page was Auto generated by spf13/cobra, so if it sounds a lil robotic underneath all my glitter, that's why. not me β
okay that's the whole page bestie, you ate that. go zip something. periodt π
Auto generated by spf13/cobra Β· Aug 2026 Β· ARDUINO COMMAND LINE MANUAL(1) β mwah, take care of yourself, iykyk ππΈ
π¦ where this page comes from
- ubuntu stonking: arduino-cli 1.5.1-4 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms