Quick checks for common issues.
Problem: Install script fails immediately
git and curl are installed.bash -x install.shProblem: Chezmoi apply fails
chezmoi apply to re-sync state.chezmoi diff~/.local/share/dotfiles.log for details.DOTFILES_NONINTERACTIVE=1 dot apply --forceProblem: Packages fail to install
brew update)sudo apt-get update firstProblem: Shell is slow to start
dot benchmark to measure startup timezsh -x to trace startupProblem: Aliases or functions not available
chezmoi apply to regenerate config filessource ~/.zshrcProblem: dot doctor prints a directory listing instead of diagnostics
dot was shadowed by a navigation alias in the current shell session.type -a dotunalias dot 2>/dev/null || true && exec zshdot doctorProblem: Zsh reports it cannot write .zwc files
find ~/.config/shell ~/.config/zsh -type f -name '*.zwc' -deleteexec zshdot doctorProblem: Shell crashes on startup
~/.zshrc and retry to isolate the faultzsh -n ~/.zshrcchezmoi diffProblem: Encrypted files fail to decrypt
~/.config/chezmoi/key.txt exists.dot secrets-init if needed.Problem: Age encryption not working
age is installed: command -v agels -la ~/.config/chezmoi/key.txt (should be 600)Problem: Plugins fail to load
:checkhealth in Neovim:Lazy syncProblem: LSP not working
:LspInfo for status:LspLog for errorsProblem: Git aliases not working
git config --listchezmoi applyProblem: Delta (diff pager) not showing colors
delta is installedProblem: kubectl context issues
kubectl config get-contextskubectx <context-name>echo $KUBECONFIGProblem: Minikube won’t start
minikube delete && minikube startminikube logsProblem: High memory usage
htop or btopProblem: Nix isn’t installed or commands not found
curl -L https://nixos.org/nix/install | sh~/.config/nix/nix.conf:
experimental-features = nix-command flakesps aux | grep nix-daemonProblem: Systemd isn’t available (mostly WSL2)
pueue management) will fallback to direct execution./etc/wsl.conf (requires Windows 11 or latest WSL):
[boot]
systemd=true
wsl.exe --shutdownProblem: GPG or SSH signing fails
gpg --list-secret-keys or ssh-add -lGPG_TTY is set (dotfiles does this automatically in rc.d).pcscd is running on Linux.For complex WSL2 edge cases, Nix integration problems, and recovery procedures, see the comprehensive guide: WSL2 & Nix Troubleshooting Guide
This guide covers:
Open an issue with:
dot doctor (if available)~/.local/share/dotfiles.log