Skip to content

monoceros add-apt-packages

Installs Debian/Ubuntu apt packages in the container - a quick, declarative way to add small tools missing from the base image (make, jq, tmux, …). They are installed on the next monoceros apply.

Terminal window
monoceros add-apt-packages <name> <pkg> [<pkg> ...] [--yes]

Pass the package names as arguments.

Terminal window
# A single package
monoceros add-apt-packages acme jq
# Several at once
monoceros add-apt-packages acme make tmux ripgrep
  • Idempotent. A package already in the list is not added again.
  • No confirmation prompt. The edit is written straight to the yml as soon as you run the command.
  • Edits the yml only. Run monoceros apply to install the packages.