Skip to content

Command guide

Examples of Linux package and Home Manager commands.

These examples cover Linux package and Home Manager commands. See the CLI reference for shared commands and options.

Install the CLI

curl -fsSL https://outfitting.jfa.dev/install.sh | sh

Note: Supports x64 and arm64. The installer verifies the ZIP against its SHA-256 file and installs to ~/.local/bin. Add that directory to PATH if it is not already there.

init

init prepares Outfitting on this machine and checks the selected source. It does not change installed packages or activate Home Manager.

outfitting-manager init

apply

apply installs packages declared for the selected profile using apt or pacman. Use --prune to remove Outfitting-managed packages no longer declared.

outfitting-manager apply --profile workstation
outfitting-manager apply --package-manager pacman --prune

For offline installs, --offline uses the cached source and cached apt packages; pacman installs are not supported.

diff

diff compares declared native packages with installed packages without changing the system. Linux compares apt by default; use --manager pacman to check pacman declarations. Unrelated installed packages are ignored.

outfitting-manager diff --profile workstation
outfitting-manager diff --profile workstation --manager pacman

update

update upgrades installed apt or pacman packages. It does not install packages from a profile; use apply for that. Offline upgrades are not supported.

outfitting-manager update --package-manager apt

nix

Linux Nix commands build or activate the selected Home Manager profile. build, test, and dry-run do not activate it; switch does. nix update updates the flake inputs and activates the updated profile.

build

Build the profile without activating it.

outfitting-manager nix build

switch

Build and activate the profile.

outfitting-manager nix switch

test

Check that the profile builds without activating it.

outfitting-manager nix test

dry-run

Preview the profile build without activating it.

outfitting-manager nix dry-run

update

Update flake inputs, then build and activate the profile.

outfitting-manager nix update

recover nix

Resume an interrupted Nix profile update.

outfitting-manager recover nix
Navigation

Type to search…

↑↓ navigate↵ selectEsc close