MacOS Setup Cheatsheet

views2 min read

Deprecated

To date, I use a set of .files (dotfiles) to bootstrap a new system from scratch. This approach greatly reduces the time for configuration, which I can now do by running a single command.

More details:


How I install my system

iMac Pro

Install *.dmg apps

Code editor

WebStorm

Install WebStorm

Plugins:

Font:

JetBrains Mono

Terminal

ITerm2

Install ITerm2

Install zsh & Oh My Zsh:

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

Install Homebrew:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Set color scheme:

Preferences > Profiles > Default > Colors > Color Presets... > Import

HYBRID Scheme ↓

Source

Set ZSH by default:

iTerm > Profiles > Default > Command: /bin/zsh

Install plugins:

# powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

# autosuggestions && syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting

configure powerlevel10k:

p10k configure

Edit .zshrc:

.zshrc ↓

Install n and node without sudo:

curl -L https://git.io/n-install | bash

generate ed25519 ssh key:

ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "john@example.com"
#macos#setup#cheatsheet

Пока никто не ответил 🥺. Если у тебя есть ответ — пришли мне вебменшен!