-f, --force | Enable selected --force- options (deprecated). | man |
-i, --interactive | Ask confirmation before performing certain operations. | man |
-p, --root ROOT | Manage file system at ROOT. | man |
-q, --quiet | Print less information. | man |
-U, --update-cache | Alias for '--cache-max-age 0'. | man |
-v, --verbose | Print more information (can be specified twice). | man |
-V, --version | Print program version and exit. | man |
-X, --repository REPO | Specify additional package repository. | man |
--allow-untrusted | Install packages with untrusted signature or no signature. | man |
--arch ARCH | Temporarily override architecture. | man |
--cache-dir CACHEDIR | Temporarily override the cache directory. | man |
--cache-max-age AGE | Maximum AGE (in minutes) for index in cache before it's refreshed. | man |
--force-binary-stdout | Continue even if binary data will be printed to the terminal. | man |
--force-broken-world | DANGEROUS: Delete world constraints until a solution without conflicts is found. | man |
--force-missing-repositories | Continue even if some of the repository indexes are not available. | man |
--force-non-repository | Continue even if packages may be lost on reboot. | man |
--force-old-apk | Continue even if packages use unsupported features. | man |
--force-overwrite | Overwrite files in other packages. | man |
--force-refresh | Do not use cached files (local or from proxy). | man |
--keys-dir KEYSDIR | Override directory of trusted keys. | man |
--no-cache | Do not use any local cache path. | man |
--no-check-certificate | Do not validate the HTTPS server certificates. | man |
--no-interactive | Disable interactive mode. | man |
--no-network | Do not use the network. | man |
--no-progress | Disable progress bar even for TTYs. | man |
--print-arch | Print default arch and exit. | man |
--progress | Show progress. | man |
--progress-fd FD | Write progress to the specified file descriptor. | man |
--purge | Purge modified configuration and cached packages. | man |
--repositories-file REPOFILE | Override system repositories, see apk-repositories(8). | man |
--timeout TIME | Timeout network connections if no progress is made in TIME seconds. | man |
--wait TIME | Wait for TIME seconds to get an exclusive repository lock before failing. | man |
-s, --simulate | Simulate the requested operation without making any changes. | man |
--clean-protected | Do not create .apk-new files in configuration directories. | man |
--overlay-from-stdin | Read list of overlay files from stdin. | man |
--no-scripts | Do not execute any scripts. | man |
--no-commit-hooks | Skip pre/post hook scripts (but not other scripts). | man |
--initramfs-diskless-boot | Used by initramfs when it's recreating root tmpfs. | man |
--from FROMSPEC | Search packages from: system (all system sources), repositories (exclude installed database), installed (exclude normal repositories) or none (commandline repositories only). | man |