dotts

Commands

Complete reference for all dotts CLI commands

Commands

dotts provides a simple set of commands for managing your dotfiles.

dotts init

Initialize dotts on a new system. This runs an interactive wizard that guides you through the setup process.

dotts init

Options

FlagDescription
--source <url>Config source URL (skip source selection)
--machine <name>Machine config name (skip machine selection)
--no-authSkip authentication setup
--skip-applySkip package installation and dotfile linking
--dry-runShow what would be done without making changes
--skip-packagesSkip package installation
--skip-dotfilesSkip dotfile linking

Examples

# Full interactive setup
dotts init

# Skip to applying with a specific machine config
dotts init --machine workstation

# Preview what would happen without making changes
dotts init --dry-run

dotts update

Pull the latest configuration and apply changes.

dotts update

Options

FlagDescription
--dry-runShow what would change without applying
--packages-onlyOnly update packages
--dotfiles-onlyOnly update dotfiles
-y, --yesSkip confirmation prompts

Examples

# Update everything
dotts update

# Preview changes first
dotts update --dry-run

# Only update packages
dotts update --packages-only

dotts status

Show the current configuration state.

dotts status

This displays:

  • Current machine configuration
  • Active profile chain
  • Linked dotfiles status
  • Installed packages

dotts sync

Sync local dotfile changes back to the config repository.

dotts sync

This command detects changes you've made to dotfiles and copies them back to your config repo for committing.

Options

FlagDescription
--dry-runShow what would be synced
-a, --allSync all changed files

dotts doctor

Check system health and diagnose issues.

dotts doctor

This command verifies:

  • Required dependencies are installed
  • Config repository is accessible
  • Symlinks are valid
  • Package managers are available

dotts config

Manage the config source.

dotts config

Subcommands

# Show current config source
dotts config show

# Change config source
dotts config set <url>

# Pull latest changes
dotts config pull

dotts machine

Manage machine configurations.

dotts machine

Subcommands

# List available machines
dotts machine list

# Show current machine
dotts machine show

# Switch to a different machine config
dotts machine switch <name>

# Create a new machine config
dotts machine create <name>

Global Options

These options are available for all commands:

FlagDescription
-h, --helpShow help for any command
-v, --versionShow dotts version
--verboseEnable verbose output
--no-colorDisable colored output

Exit Codes

CodeMeaning
0Success
1General error
2Configuration error
3Network error
4Permission error

On this page