Last active
June 21, 2023 09:10
-
-
Save aadityataparia/8a073311f349a2ad685b93e8a5fa77ad to your computer and use it in GitHub Desktop.
Mac (Silicon) initial setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Brew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
brew update | |
# ZSH | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
# Add brew to path | |
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ~/.zshrc | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
source ~/.zshrc | |
# Iterm2 | |
brew install --cask iterm2 | |
# Check Git was installed | |
git | |
# ZSH plugins | |
## zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
# kubectl | |
brew install kubectl | |
# VS Code | |
brew install --cask visual-studio-code | |
# Google Chrome | |
brew install --cask google-chrome | |
# Postman | |
brew install --cask postman | |
# nvm, node, yarn | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash | |
source ~/.zshrc | |
nvm install --lts | |
nvm use --lts | |
npm install -g yarn | |
## TODO: manually | |
# Add zsh-autosuggestions to .zshrc plugins | |
# Add hotkey for showing/hiding iterm windows | |
# Add git ssh key to github https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment