Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
November 14, 2020 12:52 pm GMT

New Mac Config

My previous Mac was starting to overheat so it was swapped for another.

I decided to install things as I required them rather than restore from a Time Machine backup as I thought I'd probably built up a lot of things that did not need over the last couple of years.

Here are my notes on the basic tools and config for a new Mac that I find useful working mostly with AWS.

Docker

https://www.docker.com/get-started

iTerm

https://www.iterm2.com

Parallels Toolbox

https://www.parallels.com/uk/products/toolbox/

Xcode Command Line Tools

xcode-select --install
Enter fullscreen mode Exit fullscreen mode

Switch to ZSH

On Mac the default interactive shell is now zsh.
For more details, please visit https://support.apple.com/kb/HT208050.

chsh -s /bin/zsh
Enter fullscreen mode Exit fullscreen mode

Install Oh My Zsh

https://github.com/ohmyzsh/ohmyzsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Enter fullscreen mode Exit fullscreen mode

Install Homebrew

https://brew.sh

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Enter fullscreen mode Exit fullscreen mode

Quick Look JSON

http://www.sagtau.com/quicklookjson.html

brew cask install quicklook-json
Enter fullscreen mode Exit fullscreen mode

JQ

https://stedolan.github.io/jq/

brew install jq
Enter fullscreen mode Exit fullscreen mode

Terraform

https://www.terraform.io

brew tap hashicorp/tapbrew install hashicorp/tap/terraform
Enter fullscreen mode Exit fullscreen mode

AWS SAM

https://aws.amazon.com/serverless/sam/

brew tap aws/tapbrew install aws-sam-cli
Enter fullscreen mode Exit fullscreen mode

AWS CLI

https://aws.amazon.com/cli/

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

PIP

https://pip.pypa.io/en/stable/installing/

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.pypython get-pip.py
Enter fullscreen mode Exit fullscreen mode

Make iTerm Look Nice

Colour theme set to solarized dark

Powerlevel 10k

https://github.com/romkatv/powerlevel10k

brew install romkatv/powerlevel10k/powerlevel10kecho 'source /usr/local/opt/powerlevel10k/powerlevel10k.zsh-theme' >>~/.zshrcgit clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
Enter fullscreen mode Exit fullscreen mode

Restart iTerm and run through the config wizard that starts

ZSH iterm Touch Bar

https://github.com/iam4x/zsh-iterm-touchbar

brew install nodecd ${ZSH_CUSTOM1:-$ZSH/custom}/pluginsgit clone https://github.com/iam4x/zsh-iterm-touchbar.git
Enter fullscreen mode Exit fullscreen mode

.zshrc settings

ZSH_THEME="agnoster"plugins=(gitgit-promptawsdockergit-extraspippythonzsh-iterm-touchbar)TOUCHBAR_GIT_ENABLED=true
Enter fullscreen mode Exit fullscreen mode

Original Link: https://dev.to/aws-builders/new-mac-config-f38

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To