/mac-setup

A shell script which installs useful tools for your macOS.

Primary LanguageShellMIT LicenseMIT

Mac Setup

A script to set up a macOS laptop for 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.

Forked from here

Requirements

We support:

  • macOS Big Sur (11)
  • macOS Catalina (10.15)

Older versions may work but aren't tested.

Install

(These commands should be run in Terminal)

To open Terminal:

  1. Press Command+Space and search for Terminal.
  2. Hit enter

Copy the below command into Terminal and hit enter:

curl --remote-name https://raw.githubusercontent.com/alexgyllos/mac-setup/develop/mac

Then copy the below command into Terminal and hit enter:

sh mac 2>&1 | tee ~/laptop.log

You will need to enter your computer password a few times throughout the script to allow installations

You are all set 🎉🎉🎉 - it should take less than 15 minutes to install (though this depends on your machine).

Quick Test

At the end of the installation script, another script will run to attempt to check if any applications failed to install. (occasionally may claim some application are missing that aren't)

You can repeat this by running the following lines in terminal (although it's not required):

curl --remote-name https://raw.githubusercontent.com/alexgyllos/mac-setup/develop/laptop_install_test
sh laptop_install_test

NB: If you have any issues with running these scripts, please reach out to your AND Onboarding Admin.


What it sets up

Command line tools:

  • Homebrew for managing operating system libraries.
  • Git for version control
  • Zsh as your command line shell
  • Oh My Zsh to add nice features to zsh - autocompletions, shortcuts etc.
  • tree for visualising directory structure from the Terminal

Programming languages and configuration:

  • Node.js for JavaScript back-end development, and
  • NPM for installing JavaScript packages

GUI Apps:

Fonts:

  • Open Dyslexic for accessibility