<aside>
<img src="/icons/report_red.svg" alt="/icons/report_red.svg" width="40px" /> Never use $ sudo
to install tools
</aside>
→ This tip should be moved to another page since it is not mandatory to use iTerm to run the app
iTerm2
https://iterm2.com/Oh My Zsh
by following latest instruction from# Instructions from 20/04/23:
sh -c "$(curl -fsSL <https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh>)"
Generate an SSH key pair
(with email you use to create your GitHub account):
mkdir -p ~/.ssh && ssh-keygen -t ed25519 -o -a 100 -f ~/.ssh/id_ed25519 -C "[email protected]"
When generating key, enter a passphrase to improve security:
> Enter passphrase (empty for no passphrase): [Type a passphrase]
> Enter same passphrase again: [Type passphrase again]
Add SSH key to ~/.ssh/config
:
Host github.com
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
To avoid entering your passphrase each time you use your SSH key, add SSH private key to the ssh-agent with 1h of life time:
ssh-add -t 1h --apple-use-keychain ~/.ssh/id_ed25519
→ Add the generated public key to your GitHub account:
pbcopy < ~/.ssh/id_ed25519.pub
Install Homebrew
(MacOS package manager) by following latest instructions from https://brew.sh/