My personal dotfiles, managed with stow (macOS/Linux) and PowerShell symlinks (Windows).
| Platform | Script | Package Manager |
|---|---|---|
| macOS | install.sh |
Homebrew |
| Ubuntu / Debian | install.sh |
apt + Linuxbrew |
| Fedora / RHEL | install.sh |
dnf + Linuxbrew |
| Arch Linux | install.sh |
pacman + Linuxbrew |
| openSUSE | install.sh |
zypper + Linuxbrew |
| WSL | install.sh |
(distro PM + Linuxbrew) |
| Windows (native) | install.ps1 |
winget |
One command to set up everything. The script automatically installs prerequisites (Xcode CLI tools, Homebrew, git, etc.), clones the repo, and runs a full restore.
bash <(curl -fsSL https://raw.githubusercontent.com/rdrkr/dotfiles/main/install.sh)Run as Administrator in PowerShell:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
irm "https://raw.githubusercontent.com/rdrkr/dotfiles/main/install.ps1?$(Get-Date -UFormat %s)" | iexThe scripts detect your platform, install any missing prerequisites, clone the repo to
~/dotfiles, and runrestore.
Restore dotfiles and install all dependencies:
# macOS / Linux / WSL
./install.sh restore
# Windows
.\install.ps1 restoreUpdate package lists with the current setup and commit changes:
# macOS / Linux / WSL
./install.sh backup
# Windows
.\install.ps1 backupSchedule hourly automated backups:
# macOS / Linux / WSL (cron)
./install.sh schedule
# Windows (Task Scheduler)
.\install.ps1 schedulePreview what would happen without making changes:
# macOS / Linux / WSL
./install.sh restore --dry-run
# Windows
.\install.ps1 restore -DryRun| File | Purpose |
|---|---|
.config/Brewfile |
Homebrew packages (macOS) |
.config/apt-packages.txt |
apt packages (Debian/Ubuntu) |
.config/dnf-packages.txt |
dnf packages (Fedora/RHEL) |
.config/pacman-packages.txt |
pacman packages (Arch) |
.config/zypper-packages.txt |
zypper packages (openSUSE) |
.config/winget-packages.txt |
winget packages (Windows) |
.config/npm-global-packages.txt |
Global npm packages (all platforms) |
.config/pipx-packages.txt |
Pipx packages (all platforms) |
.config/bun-packages.txt |
Bun packages (all platforms) |
This project is licensed under the MIT License - see the [LICENSE] file for details.