Laptop is a script to set up a macOS laptop for web and mobile 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.
This project is forked & derived from the thoughtbot/laptop project, but customized for my own use.
Download the script:
curl --remote-name https://raw.githubusercontent.com/mutukrish/laptop_setup/main/mac
Review the script (avoid running scripts you haven’t read!):
less mac
Execute the downloaded script:
sh mac 2>&1 | tee ~/laptop.log
Optionally, review the log:
less ~/laptop.log
Your last Laptop run will be saved to ~/laptop.log
.
First, it shows hidden (dot)files on your 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)
- RCM for managing company and personal dotfiles
- The Silver Searcher for finding things in files
- Tmux for saving project state and switching between projects
- Watchman for watching for filesystem events
- 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
- Guetzli for optimizing images
Programming languages, package managers, and configuration:
- Bundler for managing Ruby libraries
- Node.js (latest LTS version) & npm, for running apps and installing JavaScript packages, via tj/n
- Ruby (latest stable version) via rbenv
- Yarn for managing JavaScript packages
- NVM Managing node version locally
Databases:
- MongoDB for storing data
Laptop is © 2011-2020 thoughtbot, inc. It is free software, and may be redistributed under the terms specified in the LICENSE file.