One-Command Bootstrap
On a fresh Ubuntu machine or WSL instance, you can bootstrap your entire development environment with a single command:Run the bootstrap script
Download and execute the bootstrap script directly from GitHub:The bootstrap script automatically:
Do not run this script as root. It will prompt for your password when needed for package installation.
- Installs all dependencies (ansible, age, bw, chezmoi)
- Logs you into Bitwarden and unlocks your vault
- Retrieves (or generates) your age encryption key
- Prepares your system for dotfiles initialization
What Happens During Bootstrap?
Thebootstrap.sh script performs the following operations in order:
1. Dependency Installation
1. Dependency Installation
2. Ansible Installation
2. Ansible Installation
3. Bitwarden CLI Installation
3. Bitwarden CLI Installation
4. chezmoi Installation
4. chezmoi Installation
5. Bitwarden Authentication
5. Bitwarden Authentication
The script logs you into Bitwarden and unlocks your vault:You’ll be prompted for your Bitwarden credentials during this step.
6. Age Key Setup
6. Age Key Setup
What Gets Automated?
After runningchezmoi init --apply, your system will be fully configured:
System Packages
Base Packages
Essential CLI tools like curl, git, htop, jq, and more
Development Tools
Terraform, docker, build tools, and language runtimes
Desktop Applications
Google Chrome, VS Code, and productivity applications
System Utilities
antigravity, snapd, and system management tools
Configuration Files
- Shell Environment:
~/.bashrc,~/.bash_aliaseswith custom functions - Git Config:
~/.gitconfigwith conditional work/personal identities - SSH Config:
~/.ssh/config(encrypted with age) - AWS Credentials:
~/.aws/credentialsand~/.aws/config(from Bitwarden)
GNOME Desktop Settings
- Dark mode enabled by default
- Custom clock format (show date, hide seconds)
- Power management (disable sleep on AC power)
Verify Your Setup
After initialization, verify everything is working:Next Steps
Customize Configuration
Learn how to add packages, modify settings, and customize your environment
Secrets Management
Understand how to manage SSH keys, AWS credentials, and encrypted files
Troubleshooting
Common issues and solutions for bootstrap and initialization
Advanced Usage
Deep dive into chezmoi templates, Ansible customization, and testing