Skip to content

Latest commit

 

History

History
105 lines (75 loc) · 2.48 KB

File metadata and controls

105 lines (75 loc) · 2.48 KB

Dotfiles CLI Commands

Complete reference for all dotfiles commands.

Quick Reference

dotfiles help              # Show all commands

Daily

Command Description Documentation
dotfiles update Pull and apply from remote update.md
dotfiles doctor Run health checks doctor.md
dotfiles status Show pending changes status.md

Packages

Command Description Documentation
dotfiles packages Install system packages packages.md
dotfiles packages global Install npm/pip/dotnet tools packages.md
dotfiles packages extensions Install VS Code/browser extensions packages.md

System

Command Description Documentation
dotfiles ssh Setup SSH keys ssh.md
dotfiles defaults Apply macOS settings defaults.md
dotfiles cron Manage scheduled tasks cron.md
dotfiles logs View logs logs.md
dotfiles backup Backup projects backup.md

Lifecycle

Command Description Documentation
dotfiles setup Complete post-bootstrap setup setup.md
dotfiles bootstrap Full machine setup bootstrap.md
dotfiles destroy Remove dotfiles destroy.md

Utility

Command Description
dotfiles help Show help message
dotfiles --version Show version

Common Workflows

Daily Usage

# Check for issues
dotfiles doctor --quick

# Pull latest changes
dotfiles update

# See what's pending
dotfiles status

Setting Up New Machine

# Bootstrap (essential tools)
bash -c "$(curl -fsSL https://raw.githubusercontent.com/kidchenko/dotfiles/main/tools/bootstrap.sh)"

# Complete setup (packages, extensions, ssh, defaults)
dotfiles setup

# Verify everything works
dotfiles doctor

Keeping in Sync

# Pull and apply latest
dotfiles update

# Check for package updates
dotfiles packages outdated

Editing Dotfiles

# Edit directly with chezmoi
chezmoi edit ~/.zshrc

# Preview changes
dotfiles status

# Apply changes
chezmoi apply

# Commit to git
cd ~/.local/share/chezmoi
git add -A && git commit -m "Update zshrc" && git push