Welcome to the Masteorion DotFiles Setup! This repository contains a robust install.sh script to automate the installation and configuration of your development environment on a new Mac.
The install.sh script:
- Installs Homebrew and essential packages
- Installs and configures Oh My Zsh, plugins, and Starship prompt
- Installs fonts and productivity/security/macOS tools
- Sets up symbolic links for your dotfiles
- Supports flexible package group selection
- Handles 1Password SSH agent and other developer essentials
- macOS (tested on Sonoma and later)
- Internet connection
- 1Password CLI (optional, for SSH agent integration)
- Xcode Command Line Tools (the script will prompt to install if missing)
Clone this repository to your home directory:
git clone https://github.com/AndresMorelos/.dotfiles ~/.dotfiles
cd ~/.dotfilesMake the script executable:
chmod +x install.shRun the installer:
./install.shYou can customize which Homebrew cask package groups are installed using command-line options:
./install.sh [OPTIONS]--help,-hShow help message and exit--packages GROUPSComma-separated list of cask groups to install (e.g.dev,macos,streaming)--skip-packages GROUPSComma-separated list of cask groups to skip (e.g.dev,macos,streaming)
- dev Developer tools (
cursor,iterm2,cleanshot, etc) - homeservices Home services (
vnc-viewer) - productivity Productivity tools (
numi,raycast,rectangle) - security Security tools (
knockknock,oversight) - macos macOS utilities (
monitorcontrol,istat-menus) - streaming Streaming apps (
spotify)
Install all cask groups (default):
./install.shOnly install dev and macos cask groups:
./install.sh --packages dev,macosInstall all except dev and streaming cask groups:
./install.sh --skip-packages dev,streamingIf you use 1Password for SSH keys:
- Ensure the 1Password CLI (
op) is installed - Enable the SSH agent in 1Password settings
- The script will check for the agent and use it for GitHub and other SSH operations
- Homebrew not found: The script will install Homebrew if missing.
- Xcode Command Line Tools: The script will prompt to install if missing.
- Cask already installed error: The script checks both Homebrew and
/Applicationsto avoid duplicate installs. - 1Password SSH agent issues: Ensure the agent is enabled and
opCLI is installed. Runop ssh statusto verify. - Permission denied: Make sure you run the script with the correct permissions and that your user has sudo rights if needed.
- Edit the arrays in
install.shto add or remove Homebrew formulae or cask packages. - Add your own dotfiles to the appropriate folders in
.dotfilesand update theconfigfunction as needed.
Feel free to fork and submit pull requests for improvements, bug fixes, or new features!
MIT License. See LICENSE for details.