Skip to content

Latest commit

 

History

History
54 lines (43 loc) · 1.51 KB

README.md

File metadata and controls

54 lines (43 loc) · 1.51 KB

Motivation

I spent a significant amount of time setting up the machine everytime I get a new one. Time Machine did help me a lot in the past. But with time the system still gets filled with junk.

There are many open-source projects out there for provisioning a new mac, but I didn't trust them much. So instead of diving deeply in those codes, I prefer to write this script on my own. This script just does the following tasks:

  • Installing the Xcode Command Line Tools
  • Install the homebrew
  • Install some essentials tools
  • Install the development setup:
    • oh-my-zsh and install some plugins
    • tmux and install some plugins
    • ssh/git setup
  • Install languages
    • python
    • rust
    • jvm
  • Install AWS tools
  • Install some GUI tools
  • Install some tools from MAS

Usage

Installation

 sh -c "$(curl -fsSL https://raw.githubusercontent.com/minhtuannguyen/mac_provisioning/main/scripts/install.sh)"

How to use

#to provision
macpro

#update
macpro-update

Manual steps

However, there are a few manual steps to do:

  • Setup keyboard, trackpad options in the system preferences
  • Map Caps Lock to escape
  • iterm2
    • copy on selection:
      • General -> Selection
        • copy to pasteboard on selection
        • Applications in terminal may access to clipboard
    • import the profile to iterm2
  • import the color scheme for idea
  • import ssh public key for Git