Skip to content

monoceros remove-apt-packages

Removes one or more apt packages from a workbench’s config. They are no longer installed after the next monoceros apply. The inverse of monoceros add-apt-packages.

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

Pass the package names as arguments.

Terminal window
monoceros remove-apt-packages acme jq
monoceros remove-apt-packages acme make tmux
  • Idempotent. Removing a package that is not in the list is a no-op.
  • 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 rebuild without the packages.