Bootstrap script for setting up a new RunPod dev environment with persistent storage.
On RunPod, /root (home) is ephemeral — wiped on pod restart. /workspace is persistent. This repo is designed to live in /workspace/dotfiles so your config survives restarts.
git clone https://github.com/AMindToThink/dotfiles.git /workspace/dotfiles
cd /workspace/dotfiles
./setup.shSet your RunPod start command to:
bash /workspace/dotfiles/apply.sh
This re-creates symlinks and bashrc additions in the ephemeral /root on each restart.
- System deps — installs curl, wget, vim, jq, tmux, gh CLI
- Git identity — sets user to
AMindToThink - GitHub auth — runs
gh auth login - Dotfiles — runs
apply.sh(symlinks configs, appends bashrc additions) - Secrets — creates
/workspace/.secrets.envfrom template (fill in your API keys) - Claude Code — clones claude-code-settings to
/workspace/.claude - uv — installs uv for Python package management
- Symlinks
.tmux.conf,.gitconfigfrom/workspace/dotfiles→~ - Symlinks
/workspace/.secrets.env→~/.secrets.env - Symlinks
/workspace/.claude→~/.claude - Appends shell additions to
~/.bashrc(if not already present) - Sets git global identity
/workspace/
├── dotfiles/ # this repo
├── .secrets.env # your API keys (gitignored, persistent)
└── .claude/ # Claude Code settings repo (persistent)
- Fill in
/workspace/.secrets.envwith your API keys - Run
source ~/.bashrc - Verify with
git config user.name