How to set up a new macOS computer? These notes show how our teams do it.
Contents:
- Introduction
- Setup Assistant
- Software Update
- FileVault
- Connect your iPhone, iPad, etc.
- System Preferences and Defaults
- Applications
- Defaults
- Brew, Cask, MAS
- Sysadmin notes
- Developer notes
- Database notes
- Programming notes
- JetBrains notes
- See Also
These notes start with the basics, suitable for typical users.
These notes continue with more advanced information, suitable for people who are developers and programmers.
We use Apple macOS current release. We expect most of these notes will work on many versions of macOS.
To setup:
-
Turn on your new computer. This launches the Mac Setup Assistant, which prompts you for your preferred language, time zone, etc.
-
If you already use a different Mac computer, and you want to do a migration of all your files, then you can use the “Migration Assistant”. We prefer to skip this step because we prefer to set up our computer from scratch.
-
Register for a personal Apple Id, if you don't already have one. If you want to use iCloud, do it.
To update your software:
-
Choose the Apple menu, then "Software Update...".
-
This step downloads all the current updates for your system, such as bug fixes, security patches, and feature improvements.
-
This step may take a while because macOS updates tend to be large to download. This step may require rebooting.
To use FileVault to encrypt your entire drive:
-
Choose the Apple menu, then "System Preferences....", then "FileVault", then turn on FileVault.
-
Write your FileVault password in a secure place; you must have this if you ever want to recover your system.
-
This step may take a while, and may require rebooting, because macOS is adding encryption to your entire system.
Do you want to sync an iPhone, iPad, or other device?
-
If so, connect these now.
-
You may want to launch iTunes, because this shows you what is synchronizing.
-
If you use iTunes, then you can have iTunes make a backup of your device now.
We set a bunch of system preferences to customize our Desktop, Dock, Keyboard, Sound, and so on.
-
Typical users: you can pick and choose from our complete list of System Preferences
-
Advanced users: you can run our script for mac-defaults.
We add many applications, and we have big lists of our favorites.
-
Typical users: you can pick and choose using our list of applications.
-
Advanced users: you run our scripts for brew, cask, mas, and so on. See below for these.
We set many system preferences and application defaults by using the command defaults write
.
Script:
Brew, Cask, and Mac App Store (MAS), are all very useful for installing apps via the command line. These are the best Mac package managers in our opinion.
- admin.md: Ensure our user can administer the system
- environment.md: Use /etc/environment
- Spotlight: skip index on a bunch of folders
- git.md: Git version control
- adium.md: Adium instant messenger settings
- osx-cpu-temp.md: Command to show the OSX CPU temperature
- karabiner.md: Karabiner changes the key "caps lock" to "control" and "escape".
- xcode.md: Xcode development tools
- gcc.md: ASDF version manager
- gcc.md: Gnu Compiler Collection
- emacs.md: Emacs text editor
- iterm2.md: iTerm2 terminal emulator for Unix shell commands
- ruby.md: Ruby programming
- java.md: Java programming
- chef.md: Chef system manager
- virtualhosts.md: Virtual hosts
We use JetBrains programming software, including Toolbox, DataGrip, WebStorm, etc.
Currently there is no way to install these using brew, nor the App Store, so we do this:
- Download JetBrains Toolbox, and install it to /Applcations. (Not to a user account location).
- Set JetBrains Toolbox to install everything to /Applications/JetBrains. (This is so we can more-easily use the software with multiple user accounts on the same machine).