Skip to content

Latest commit

 

History

History
120 lines (94 loc) · 2.59 KB

readme-2.md

File metadata and controls

120 lines (94 loc) · 2.59 KB

Init

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • homebrew will install the dev-tools for macos.
  • We will also need to install Rosetta in order to run Intel based crap on Apple Silicon:
sudo softwareupdate --install-rosetta
  • Install homebrew casks:
brew install --cask appcleaner
brew install --cask firefox
brew install --cask iterm2
brew install --cask sublime-text
# Disabled because it does not support Apple Silicon
# brew install --cask dbvisualizer
brew install --cask expressions
# Disabled because it's on v1.x still.
# brew install --cask postico
brew install --cask slack
brew install --cask soulver
brew install --cask rectangle
brew install --cask tableplus
# MS Teams requires rosetta.
brew install --cask microsoft-teams
brew install --cask rancher
brew install --cask iina
brew install --cask subler
brew install --cask handbrake
  • Install homebrew packages:
brew install bash
brew install kubectl
brew install gpg
brew install pass
brew install go
brew install node
brew install azure-cli
brew install bash-completion@2
brew install git
brew install jq
brew install kustomize
brew install openjdk
brew install kotlin
brew install postgresql
brew install shellcheck
brew install staticcheck
brew install terraform
brew install ffmpeg
brew install youtube-dl
brew install colordiff
  • Set up OpenJDK as the system Java wrapper:
sudo ln -sfn /opt/homebrew/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk
git clone [email protected]:patrickrgaffney/dotfiles.git
  • Symlink all the dotfiles:
./dotfiles.sh
  • Add the new bash (from homebrew - v5) to the list of approved shells:
echo "/opt/homebrew/bin/bash" >> /etc/shells
  • Change the default shell to bash:
chsh -s /opt/homebrew/bin/bash
  • Move SSH keys over. Typically I move the entire $HOME/.ssh folder, then rm known_hosts.
  • Move GPG keys over:
# Old machine: grap the ID of the key(s):
gpg --list-secret-keys [email protected]

# Old machine: export key(s):
gpg --export-secret-keys "$ID" > private.key

# New machine: import key(s):
gpg --import private.key
  • Clone pass repository.
# Initialize password store.
pass init "$GPG_ID"

# Initialize empty git repo.
pass git init

# Close existing pass repo.
pass git clone "$PASS_GIT_URL"