A comprehensive dotfiles setup script that configures development environments for both macOS and Linux systems.
Basic installation:
curl -L https://raw.githubusercontent.com/samhvw8/dotfiles/master/setup.sh | bashWith command line options:
curl -L https://raw.githubusercontent.com/samhvw8/dotfiles/master/setup.sh | bash -s -- [OPTIONS]-m, --minimal: Minimal installation with fewer packages and tools-n, --no-sudo: Install without sudo privileges-h, --help: Display help message
Examples:
# Minimal installation
curl -L https://raw.githubusercontent.com/samhvw8/dotfiles/master/setup.sh | bash -s -- -m
# Installation without sudo
curl -L https://raw.githubusercontent.com/samhvw8/dotfiles/master/setup.sh | bash -s -- -n
# Minimal installation without sudo
curl -L https://raw.githubusercontent.com/samhvw8/dotfiles/master/setup.sh | bash -s -- -m -n- XDG base directory structure
- Git configuration
- ZSH as default shell (Linux)
- Homebrew (macOS)
- Rosetta 2 (macOS ARM)
- chezmoi for dotfiles management
- fzf for fuzzy finding
- mise for runtime version management
- tmux with plugin manager (full installation)
- Miniconda for Python environment management (full installation)
- Development tools and build essentials
- Python pip and related packages
- FiraCode Nerd Font (Linux)
- Additional system utilities
- macOS or Linux (Debian/Ubuntu-based)
- Internet connection
- Git
- curl
The script automatically detects your operating system and installs the appropriate packages and configurations. Use the minimal installation option (-m) for a lighter setup or the no-sudo option (-n) when you don't have sudo privileges.