Skip to content

Instantly share code, notes, and snippets.

@innomatics
Last active June 8, 2023 00:46
Show Gist options
  • Save innomatics/24d34191883b9fd7cdb82f229964deee to your computer and use it in GitHub Desktop.
Save innomatics/24d34191883b9fd7cdb82f229964deee to your computer and use it in GitHub Desktop.

OS Ventura 13.4

Make bash default shell

chsh -s /bin/bash
touch ~/.bash_profile && echo "export BASH_SILENCE_DEPRECATION_WARNING=1" >> ~/.bash_profile

CLI dev tools

xcode-select --install

Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ~/.profile
eval "$(/opt/homebrew/bin/brew shellenv)"

Dev app

brew install wget
brew install nvm
mkdir ~/.nvm
brew install git

Add the following to your shell profile e.g. ~/.bash_profile:

export NVM_DIR="$HOME/.nvm"
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh"  # This loads nvm
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm"  # This loads nvm bash_completion

Reload profile

source ~/.bash_profile

GUI apps

brew install --cask visual-studio-code

brew install --cask discord

Git config

git config --global user.name "Your Name"
git config --global user.email "[email protected]"

Configure SSH key as per https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent

Docker desktop for Mac

https://docs.docker.com/desktop/install/mac-install/

Postgres client

brew install libpq
echo 'export PATH="/opt/homebrew/opt/libpq/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile

AWS CLI

curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment