ARDUINO-CLI-SKETCH-ARCHIVE(1)

πŸ“¦
version 1.5.1 Β· 2 versions
, in ubuntu stonking

πŸ’– 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 πŸ¦‹


πŸ“œ 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