Skip to content

vaunus/my-setup

Repository files navigation

My Setup

These are my notes for setting up a new MacBook to my preference.

Setup terminal

Download iTerm2.

Install OhMyZsh:

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Install Menlo for Powerline font.

Replace the default profile in settings with iTerm-theme.json.

Copy .zshrc and other dot files to home directory.

Setup handy key shortcuts in iTerm preferences:

⌘ ← 'Jump left to beginning of line' and ⌘ → 'Jump right to end of line':

Set ⌘ ← to Hex code 0x01
Set ⌘ → to Hex code 0x05

⌘ z undo:

Hex code 0x1f

Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Check everything is ok:

brew doctor

Install some brew packages:

brew install aws/tap/aws-sam-cli git telnet yarn

Install Node

Bootstrap the n version manager:

curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n

Then use that to install node, npm and a real install of n:

bash n lts && rm n && npm install -g n

Install pnpm:

curl -fsSL https://get.pnpm.io/install.sh | sh -

And add some global packages:

pnpm add -g git-branch-selector node-gyp

Install Python

brew install pyenv

Update pip:

python3 -m pip install --upgrade pip

Install AWS Cli v2

curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /

Install MySQL 8.0

brew install mysql

Start the mysql service:

brew services start mysql

Use the setup script to set sensible defaults:

mysql_secure_installation

Install Ansible 2.9

pip install ansible==2.9.27

Install Terraform

brew install tfenv
tfenv install <version>
tfenv use <version>

Install nginx

brew install nginx

Setup configuration files at $HOMEBREW_PREFIX/etc/nginx

Install PHP 7.4

Yes, I know it's old and unsecure!

brew tap shivammathur/php
brew install shivammathur/php/php@7.4
brew link php@7.4

Setup php.ini at $HOMEBREW_PREFIX/etc/php/7.4/

Install JetBrains Mono font

A developer-friendly font. Download and then install the regular ttf.

Setup apps

1Password (paid)

A password manager. Download

CleanShot X (paid)

A screenshot/video capture tool. Download

Collective (paid)

A clipboard history manager. Download

ColorSnapper (paid)

A system-wide colour picker. Download OR use open source alternative Pika.

iStat Menus.app (paid)

A status bar system monitor. Download

Keka

An archiver that supports lots of formats. Download

Obsidian

A markdown note taker. Download

PixelSnap 2 (paid)

A contents-of-screen measurer. Download

Postman

A GraphQL and REST API client. Download

Rectangle

A window layout manager. Download

Sequel Ace

A MySQL client. Download and import my dark theme for the query window SequelAce-theme.spTheme.

Slack

A team chat app. Download

Sourcetree

A Git GUI. Download

Visual Studio Code

An IDE. Download and turn on Settings Sync and sign in with Github.

About

My MacOS setup, dot files and apps I use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published