The dot command is a comprehensive management tool for your dotfiles. It handles everything from initial setup to ongoing maintenance and provides AI-powered insights.
Installation Commands
#### dot init - Initial Setup
Complete environment setup with all tools and configurations.
```bash
# Full installation
dot init
# Skip SSH key generation
dot init --skip-ssh
# Skip font installation
dot init --skip-font
# Skip both SSH and font setup
dot init --skip-ssh --skip-font
```
What it does:
- Installs Homebrew (if not present)
- Installs packages from Brewfiles
- Creates symlinks with GNU Stow
- Installs Bun runtime
- Installs OpenCode CLI via Homebrew (with native installer/bun/npm fallback)
- Generates SSH key for GitHub (optional)
- Installs MonoLisa font (optional)
- Sets up Fish shell with plugins
Maintenance Commands
#### dot update - Update Everything
```bash
dot update
```
- Pulls latest dotfiles changes (auto-detects jj vs git)
- Updates Homebrew packages
- Re-stows configuration files
#### dot doctor - Health Check
```bash
dot doctor
```
Comprehensive diagnostics including:
- β
Homebrew installation
- β
Essential tools (git, nvim, tmux, node, etc.)
- β
OpenCode installation method and functionality
- β
Fish shell configuration
- β
PATH configuration
- β οΈ Broken symlinks detection
- β οΈ Missing dependencies
#### dot check-packages - Package Status
```bash
dot check-packages
```
Shows which packages are installed vs. missing from your Brewfiles.
#### dot retry-failed - Retry Failed Installations
```bash
dot retry-failed
```
Attempts to reinstall packages that failed during initial setup.
AI-Powered Features
#### dot summary - Commit Analysis
Uses OpenCode to generate intelligent summaries of recent git commits.
```bash
# Summarize last 3 commits (default)
dot summary
# Summarize specific number of commits
dot summary -n 5
# Include file diffs for detailed analysis
dot summary -d
# Verbose mode with commit details
dot summary -v
# Combine options
dot summary -n 10 -d -v
```
Example Output:
```
=> Sum