Basic Usage
The basic syntax for using Aseprite from the command line is:Common Use Cases
The CLI is particularly useful for:- Batch Processing: Convert multiple files at once
- Sprite Sheet Generation: Export animations as sprite sheets with metadata
- CI/CD Integration: Automate asset processing in build pipelines
- Scripting: Execute Lua scripts on sprite files
- Format Conversion: Convert between different image formats
- Color Mode Changes: Batch convert color modes (RGB, Grayscale, Indexed)
Running in Batch Mode
By default, Aseprite starts with its UI. To run in batch mode (no UI), use the--batch flag:
Preview Mode
To see what commands will be executed without actually running them, use the--preview flag:
Verbose Output
For detailed output about what Aseprite is doing:Getting Help
Display all available CLI options:Basic Examples
Convert a single file
Process multiple files
Scale and convert
Command Processing Order
Aseprite processes commands in the order they appear on the command line. This is important for operations that depend on previous commands:- Files are loaded first
- Modifications are applied (scale, palette, color mode, etc.)
- Export operations are executed (save-as, sheet generation)
Next Steps
- Batch Conversion - Learn about batch file processing
- Sprite Sheet Generation - Export animations as sprite sheets
- CLI Options Reference - Complete list of all CLI options

