ARDUINO-CLI-SKETCH-NEW(1)

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

✨ ARDUINO-CLI-SKETCH-NEW(1) ✨

okay bestie, welcome to the Arduino Command Line Manual πŸ’– this is the page for arduino-cli-sketch-new, and it's literally the glow-up moment where a brand new sketch is born. no cap.


🌸 NAME 🌸

arduino-cli-sketch-new β€” Create a new Sketch ✨


πŸŽ€ SYNOPSIS πŸŽ€

arduino-cli sketch new [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

Create a new Sketch. that's the whole vibe. you run it, a sketch appears, you say "slay", periodt. πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • -h, --help[=false] β€” help for new. it's giving "tell me about yourself" 🫢 (defaults to false).
  • -f, --overwrite[=false] β€” Overwrites an existing .ino sketch. lowkey dangerous, highkey useful, defaults to false so it won't do it unless you ask πŸ’€βš οΈ

πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS πŸ‘‘

these are the family heirlooms, passed down from the parent command, and they still work here fr fr.

  • --additional-urls=[] β€” Comma-separated list of additional URLs for the Boards Manager. defaults to an empty list [] πŸ“‹
  • --config-dir="" β€” Sets the default data directory (Arduino CLI will look for configuration file in this directory). defaults to "" πŸ“
  • --config-file="" β€” The custom config file (if not specified the default will be used). defaults to "" πŸ“„
  • --json[=false] β€” Print the output in JSON format. for the machine girlies πŸ€– (defaults to false)
  • --log[=false] β€” Print the logs on the standard output. defaults to false πŸ“œ
  • --log-file="" β€” Path to the file where logs will be written. defaults to "" πŸ—‚οΈ
  • --log-format="text" β€” The output format for the logs, can be: text, json. defaults to "text" 🎨
  • --log-level="info" β€” Messages with this level and above will be logged. Valid levels are: trace, debug, info, warn, error, fatal, panic. defaults to "info" πŸ”Š
  • --no-color[=false] β€” Disable colored output. 😭 the monochrome era (defaults to false)

🌈 EXAMPLE 🌈

debian/build/bin/arduino-cli sketch new MultiBlinker

look at her go πŸ’– one command and MultiBlinker exists. main character energy fr.


πŸ”₯ SEE ALSO πŸ”₯


⭐ HISTORY ⭐

15-Aug-2026 β€” Auto generated by spf13/cobra. the robots did this one, we just did the sparkle ✨


bestie reminder: that -f / --overwrite flag will genuinely replace an existing .ino sketch, so double check before you send it. no take-backsies 🫣

and that's the whole page!! auto generated by spf13/cobra in Aug 2026, from the Arduino Command Line Manual crew πŸ’œ tysm for reading, now go make something iconic, mwah πŸ’…

πŸ“¦ where this page comes from