Script to set up a macOS laptop for web development.
It can be run multiple times on the same machine safely. It installs, upgrades, or skips packages based on what is already installed on the machine.
We support:
- macOS Sonoma (14.x) on Apple Silicon and Intel
- macOS Ventura (13.x) on Apple Silicon and Intel
- macOS Monterey (12.x) on Apple Silicon and Intel
Older versions may work but aren't regularly tested. Bug reports for older versions are welcome.
Download the script:
curl --remote-name https://raw.githubusercontent.com/TelosLabs/laptop-setup/main/setup_mac
Execute the downloaded script:
sh setup_mac
macOS tools:
- Homebrew for managing operating system libraries.
Unix tools:
- [Universal Ctags] for indexing files for vim tab completion
- Git for version control
- OpenSSL for Transport Layer Security (TLS)
- Tmux for saving project state and switching between projects
- Zsh as your shell
Heroku tools:
- Heroku CLI and Parity for interacting with the Heroku API
GitHub tools:
- GitHub CLI for interacting with the GitHub API
Image tools:
- ImageMagick for cropping and resizing images
Programming languages, package managers, and configuration:
- asdf-vm for managing programming language versions
- Bundler for managing Ruby libraries
- Node.js and npm, for running apps and installing JavaScript packages
- Ruby stable for writing general-purpose code
- Yarn for managing JavaScript packages
- Rosetta 2 for running tools that are not supported in Apple silicon processors
GUI tools
Databases:
Gems
- Rails our main web framework