CLI Commands

Complete reference for bossa commands.

Global Options

-v, --verbose    Increase verbosity (can repeat: -v, -vv, -vvv)
-q, --quiet      Suppress non-essential output
-h, --help       Print help
-V, --version    Print version

Commands Overview

CommandDescription
novaBootstrap a new machine
statusShow current vs desired state
applyApply desired state
diffPreview what would change
addAdd resources to config
rmRemove resources from config
listList resources
showShow detailed resource info
doctorSystem health check
migrateMigrate legacy configs
cachesManage cache locations
collectionsManage repository collections
manifestContent manifest operations
icloudiCloud Drive management
storageUnified storage overview
brewHomebrew package management
refsDeprecated refs commands
completionsGenerate shell completions

nova

bossa nova [OPTIONS]

Options:

--skip <STAGES>      Skip specific stages (comma-separated)
--only <STAGES>      Only run specific stages (comma-separated)
--list-stages        List all available stages
--dry-run            Show what would be done
-j, --jobs <N>       Number of parallel jobs (max 128)

Examples:

bossa nova
bossa nova --list-stages
bossa nova --only=homebrew,brew
bossa nova --skip=dock
bossa nova --dry-run

status

bossa status [TARGET]

Examples:

bossa status
bossa status collections.refs
bossa status storage.t9

apply

bossa apply [TARGET] [OPTIONS]

Options:

--dry-run           Show what would be done
-j, --jobs <N>       Number of parallel jobs (max 128)

Examples:

bossa apply
bossa apply collections.refs
bossa apply --dry-run

diff

bossa diff [TARGET]

Examples:

bossa diff
bossa diff workspaces

add

bossa add <SUBCOMMAND>

Subcommands:

SubcommandDescription
collectionAdd a collection
repoAdd a repo to a collection
workspaceAdd a workspace repo
storageAdd a storage volume

Examples:

bossa add collection refs ~/dev/refs --description "Reference repos"
bossa add repo refs https://github.com/rust-lang/rust.git
bossa add workspace https://github.com/user/app.git --category work
bossa add storage t9 /Volumes/T9 --storage-type external

rm

bossa rm <SUBCOMMAND>

Subcommands:

SubcommandDescription
collectionRemove a collection
repoRemove a repo from a collection
workspaceRemove a workspace repo
storageRemove a storage volume

Examples:

bossa rm collection refs
bossa rm repo refs rust
bossa rm workspace myproject
bossa rm storage t9

list

bossa list <collections|repos|workspaces|storage>

Examples:

bossa list collections
bossa list workspaces

show

bossa show <TARGET>

Examples:

bossa show collections.refs
bossa show workspaces.myproject
bossa show storage.t9

doctor

bossa doctor

migrate

bossa migrate [OPTIONS]

Options:

-n, --dry-run    Preview changes without writing

caches

bossa caches <COMMAND>

Subcommands:

CommandDescription
statusShow cache status
applyApply cache config (create symlinks)
auditDetect drift
doctorCache health check
initCreate starter config

Examples:

bossa caches init
bossa caches status
bossa caches apply
bossa caches apply --dry-run
bossa caches audit

collections

bossa collections <COMMAND>

Subcommands:

CommandDescription
listList all collections
statusShow collection status
syncClone missing repos
auditFind drift
snapshotRegenerate config from disk
addAdd repo to collection
rmRemove repo from collection
cleanDelete clones

Examples:

bossa collections list
bossa collections status refs
bossa collections sync refs -j 8
bossa collections audit refs --fix
bossa collections add refs https://github.com/neovim/neovim.git --clone
bossa collections rm refs neovim --delete
bossa collections clean refs --dry-run

manifest

bossa manifest <COMMAND>

Subcommands:

CommandDescription
scanHash files in directory
statsShow manifest statistics
duplicatesFind duplicates

Examples:

bossa manifest scan ~/dev --force
bossa manifest stats ~/dev
bossa manifest duplicates ~/dev --min-size 1048576

icloud

bossa icloud <COMMAND>

Subcommands:

CommandDescription
statusShow iCloud status
listList files with status
find-evictableFind large local files
evictEvict files to free space
downloadDownload files from iCloud

Examples:

bossa icloud status
bossa icloud list --cloud
bossa icloud find-evictable --min-size 100MB
bossa icloud evict ~/Library/Mobile\ Documents --recursive --dry-run
bossa icloud download ~/Library/Mobile\ Documents --recursive

storage

bossa storage <COMMAND>

Subcommands:

CommandDescription
statusShow storage overview
duplicatesFind duplicates

Examples:

bossa storage status
bossa storage duplicates --list
bossa storage duplicates icloud t9 --min-size 1048576 --limit 5

brew

bossa brew <COMMAND>

Subcommands:

CommandDescription
applyInstall packages from Brewfile
captureUpdate Brewfile with installed packages
auditDetect drift
listList installed packages

Examples:

bossa brew apply --dry-run
bossa brew apply --file ~/dotfiles/Brewfile
bossa brew capture --output ~/dotfiles/Brewfile
bossa brew audit --file ~/dotfiles/Brewfile
bossa brew list --type cask

refs (deprecated)

bossa refs <COMMAND>

Use bossa collections instead. Subcommands mirror collections behavior.


completions

bossa completions <SHELL>

Supported shells:

  • bash
  • zsh
  • fish
  • powershell