CLI Reference
Build command
python -m appimage.build [OPTIONS]
appimage-build [OPTIONS]
Options
Option |
Description |
|---|---|
|
Show detected build configuration and exit without building. |
|
Write auto-detected values to |
|
Override the application name. |
|
Override the console script entry point. |
|
Override the Python version to bundle (e.g. |
|
Override the python-build-standalone release date for reproducible builds (e.g. |
|
Override extras to install (e.g. |
|
Additional pip install target. May be repeated. |
|
Path to the project root (default: current directory). |
|
Path to a local appimagetool binary. Skips PATH lookup and download. |
|
Path to a local python-build-standalone tarball. Skips the download. |
Examples
# Build with a specific Python version
python -m appimage.build --python 3.13
# Reproducible build pinned to a specific release date
python -m appimage.build --python-date 20260211
# Override app name and entry point
python -m appimage.build --app myapp --entry-point myapp.cli:main
# Install extras and additional packages
python -m appimage.build --extras production --package extra-lib
# Build from a different project directory
python -m appimage.build --project-dir /path/to/project
# Use a locally installed appimagetool instead of downloading
python -m appimage.build --appimagetool /opt/appimagetool-x86_64.AppImage
# Use a previously downloaded Python archive (e.g. from another build)
python -m appimage.build --python-archive /shared/cache/python.tar.gz
# Fully offline build using local copies of both tools
python -m appimage.build \
--appimagetool /opt/appimagetool-x86_64.AppImage \
--python-archive /shared/cache/python-3.11-x86_64.tar.gz