Open PowerShell as administrator.
wsl --installRestart, then open PowerShell as administrator again.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
curl https://raw.githubusercontent.com/ktanoooo/dotfiles/main/windows/bootstrap.ps1 -o .\bootstrap.ps1 -UseBasicParsing
.\bootstrap.ps1Restart again to pick up the scancode map, then continue inside WSL.
See windows/README.md for details.
bootstrap.sh installs Homebrew, authenticates with GitHub and clones this
repository. It opens a browser for gh auth login, so it is the one step that
needs a human.
curl -fsSL https://raw.githubusercontent.com/ktanoooo/dotfiles/main/bootstrap.sh | bashOpen a new terminal to pick up the new login shell and Homebrew's PATH, then
run setup.sh from the clone. It resolves paths relative to itself, so it
cannot be piped from curl.
cd $(ghq root)/github.com/ktanoooo/dotfiles
./setup.shEvery target is guarded, so a full run on a machine that is already set up costs seconds and can be repeated safely.
./setup.sh # everything
./setup.sh setup_gpg # only the named targets
./setup.sh --list # show the targetsbootstrap.sh once per machine, interactive
setup.sh idempotent, selectable
home/ linked into $HOME
packages/ package lists read by setup.sh
windows/ Windows only, PowerShell
vscode/ VSCode settings, linked by setup.sh
devcontainer/ minimal setup for dev containers
docs/ design notes