These are my dotfiles. To learn more about dotfiles, see the awesome dotfiles list.
- These scripts are intended for macOS and will not work on Linux or Windows WSL.
- Use and remix at your own risk.
- Check the script sources, understand what they do, and see if it applies to your system and tastes.
/bin/zsh -c "$(curl -fsSL https://raw.githubusercontent.com/dfernandez79/dotfiles/main/setup.sh)"Clone or download this repository, then run:
./setup.shFor available options, run:
./setup.sh --helpThe script will use Homebrew bundle to install Homebrew packages, macOS applications, and VSCode plugins.
The script will ask for your admin password multiple times during the installation. Before running it, please check the script source, and never run the zsh+curl mindlessly.
Some applications in the Apple Store bundle are paid and may only be installed if you purchased them. If an installation fails, ignore it, and the script will continue.
You can skip optional package groups using command line arguments.
# Skip App Store applications
./setup.sh --skip-appstore
# Skip VSCode extensions
./setup.sh --skip-vscode
# Skip both
./setup.sh --skip-appstore --skip-vscodeWhen running remotely via curl, you can use environment variables:
| Variable | Description |
|---|---|
SKIP_APPSTORE |
Skip Mac App Store applications |
SKIP_VSCODE |
Skip VSCode extensions |
Examples:
# Skip App Store applications
SKIP_APPSTORE=1 /bin/zsh -c "$(curl -fsSL https://raw.githubusercontent.com/dfernandez79/dotfiles/main/setup.sh)"
# Skip VSCode extensions
SKIP_VSCODE=1 /bin/zsh -c "$(curl -fsSL https://raw.githubusercontent.com/dfernandez79/dotfiles/main/setup.sh)"
# Skip both
SKIP_APPSTORE=1 SKIP_VSCODE=1 /bin/zsh -c "$(curl -fsSL https://raw.githubusercontent.com/dfernandez79/dotfiles/main/setup.sh)"Chezmoi Quick Reference
Edit the source state:
chezmoi edit ~/.zshrcSee what changes chezmoi would make:
chezmoi diffApply the changes:
chezmoi -v applyChange to the chezmoi directory:
chezmoi cd