my configs managed by stow.
- zsh: oh-my-zsh with vi-mode
- vim: neovim config with lazy.nvim
- git: global gitconfig
- zellij: terminal multiplexer config
- opencode: opencode editor config + custom commands
- tmux: tmux config
sets up a full dev environment on ubuntu 24.04 from scratch.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/narasaka/dotfiles/master/setup-ubuntu.sh)"
this installs everything: apt packages, external repos (docker, tailscale, gcloud, etc.), go, rust, node (fnm), bun, neovim, cargo/go tools, oh-my-zsh, and applies all dotfiles via stow.
after it finishes, log out and back in, then run:
tailscale up
op signin
op-ssh-load
gh auth login
the script is idempotent -- safe to re-run.
sets up a mac from scratch. pick dev (what i need to work) or full (everything):
bash -c "$(curl -fsSL https://raw.githubusercontent.com/narasaka/dotfiles/master/setup-mac.sh)" -- dev
bash -c "$(curl -fsSL https://raw.githubusercontent.com/narasaka/dotfiles/master/setup-mac.sh)" -- full
leave off the mode and it asks.
dev: homebrew, everything inBrewfile(cli tools, languages, ghostty, 1password, docker, tailscale, gcloud, fonts), rust (rustup), node lts (fnm), go/cargo/bun/npm globals, claude code, oh-my-zsh, tmux + nvim plugins, macos dock/dark mode defaults, and applies all dotfiles via stowfull: dev + everything inBrewfile.full(other languages, databases, gui apps, misc tools)
if a file would block a stow symlink, it gets moved to ~/.dotfiles-backup/<timestamp>/ first. to add a package, edit Brewfile or Brewfile.full.
apps already installed outside homebrew (mdm, app store, manual download) are skipped. a failing step doesn't stop the script -- it keeps going and lists what failed at the end.
after it finishes, open 1password, tailscale, docker and karabiner once to sign in and grant permissions, then run:
gh auth login
the script is idempotent -- safe to re-run.
./install.sh
this runs stow */ --no-folding to symlink everything into ~.
t3code/ holds my T3 Code theme, "Mono B&W": black and white, monospace everywhere, and a dithered planet behind the chat. both setup scripts install it. to install it by hand:
./t3code/install-theme.sh
it copies the theme into ~/.t3/userdata/themes/ and makes it the active theme. it works before T3 Code's first launch, and a running app switches live. the files are copied, not stowed, because T3 Code won't load theme files that are symlinks. after changing the theme in the app, copy ~/.t3/userdata/themes/mono-bw.{json,png} back into t3code/themes/.