Run shortcuts from the command line — by Apple Support
Documents the shortcuts command-line tool for listing, running, viewing and signing Shortcuts from Terminal or scripts. It covers passing input and output files, choosing the output type, and that shortcuts which prompt will pause a command-line run. The tool exits 0 on success and 1 on error.
Quick steps
- shortcuts list
- shortcuts run "Name" -i input -o output
Paraphrased from the source. Menus can differ by version, so check the original for full details.
Source: Run shortcuts from the command line by Apple Support. Licence: Link only (©).
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me