<!-- @generated by usage-cli from usage spec -->
# `mise bootstrap packages apply`

- **Usage**: `mise bootstrap packages apply [FLAGS] [PACKAGE]…`
- **Aliases**: `i`
- **Effect**: modifies state
- **Source code**: [`src/cli/system/install.rs`](https://github.com/jdx/mise/blob/main/src/cli/system/install.rs)

Apply system packages from `[bootstrap.packages]`

Checks which configured packages are missing and installs them with the
system package manager. Built-in system managers may elevate with sudo when
not running as root (see `system_packages.sudo`); package plugins never do.

Packages can also be given explicitly in `manager:package` form (e.g.
`apk:zlib-dev`, `apt:curl`, `brew:jq`); they are installed whether or not they appear in
the config. Explicit packages and `--manager` scope the run to packages
only. `install` is accepted as an alias for this command.

## Arguments

### `[PACKAGE]…`

Packages in `manager:package` form; defaults to everything configured in [bootstrap.packages]

## Flags

### `-m --manager <MANAGER>`

Only install packages for this built-in or plugin manager

### `-n --dry-run`

Print the commands that would run without running them

### `-y --yes`

Skip the confirmation prompt

### `--update`

Refresh package manager metadata first (apk: `--update-cache`, apt: `apt-get update`)

Examples:

```
mise bootstrap packages apply
mise bootstrap packages apply apk:zlib-dev apt:curl brew:jq brew-cask:firefox flatpak:org.mozilla.firefox flatpak-user:org.gnome.Builder mas:497799835
mise bootstrap packages apply --dry-run
mise bootstrap packages apply --manager apt --yes
```
