Last active
March 16, 2025 11:55
-
-
Save TomLous/3d94cce3461baddb9a0001c22586f445 to your computer and use it in GitHub Desktop.
Clean Install
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
defaults write com.apple.finder AppleShowAllFiles YES | |
defaults write com.apple.Finder AppleShowAllFiles true | |
# TODO: Copy id_rsa keys to .ssh (copy from file) | |
chmod 600 ~/.ssh/id_rsa | |
chmod 600 ~/.ssh/id_rsa.pub | |
# Homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# Mac Software | |
brew tap homebrew/cask-versions | |
brew install --cask iterm2 | |
# quit terminal & open iterm | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
brew install romkatv/powerlevel10k/powerlevel10k | |
# p10k configure | |
echo "source $(brew --prefix)/opt/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc | |
brew install --cask google-chrome | |
brew install 1password | |
brew install git | |
git config --global user.name 'Tom Lous' | |
git config --global user.email '[email protected]' | |
git config --global credential.helper osxkeychain | |
ssh -T [email protected] # check | |
# brew install zsh | |
brew install --cask sizeup # Follow link in irradiated software order to dowload license / file: SizeUp.sizeuplicense | |
brew install --cask slack | |
brew install --cask caffeine | |
brew install --cask clipy | |
brew install --cask docker | |
brew install --cask franz | |
brew install --cask bbedit | |
brew install --cask intellij-idea | |
brew install --cask dropbox | |
brew install --cask google-drive | |
brew install --cask adobe-acrobat-reader | |
brew install --cask sourcetree | |
brew install --cask bartender | |
brew install --cask spotify | |
brew install --cask notunes | |
brew install --cask skype | |
brew install --cask mongodb-compass | |
brew install --cask VirtualBox | |
brew install --cask beardedspice | |
brew install --cask coinomi-wallet | |
brew install --cask deckset | |
brew install --cask discord | |
brew install --cask disk-inventory-x | |
brew install --cask hex-fiend | |
brew install keybase # show in finder / run app / allow in system prefs | |
brew install --cask keyboardcleantool | |
brew install --cask little-snitch | |
brew install --cask loopback # check later | |
brew install --cask micro-snitch # skipped | |
brew install --cask gpg-suite # skipped | |
brew install --cask zoom | |
brew install --cask obs | |
brew install --cask postman | |
brew install --cask signal | |
brew install --cask telegram # in Franz | |
brew install --cask the-unarchiver | |
brew install --cask vlc | |
brew install --cask wireshark | |
brew install --cask mongodb-compass # skipped | |
brew install --cask obsidian | |
brew install --cask calibre | |
brew install --cask affinity-photo | |
brew install --cask steam | |
brew install --cask drawio | |
# Manual: | |
# => discontinuedc | Camera Settings https://support.logi.com/hc/en-us/articles/360049055854 | |
# LogiTune https://support.logi.com/hc/nl/articles/360025141734 | |
# MT940 Creator https://www.coenfin.nl/software/mt940-creator | |
# Snap Camera | |
# Synology Drive Client https://www.synology.com/en-global/support/download/DS415+#utilities | |
# prey X | |
# Remarkable https://my.remarkable.com/device/desktop | |
# brew untap adoptopenjdk/openjdk | |
# brew untap caskroom/versions | |
brew cleanup | |
brew install brew-gem | |
# xcode-select --install | |
#brew install git | |
# cli tools | |
brew install docker | |
brew install glances | |
brew install htop | |
brew install wget | |
brew install hyperkit | |
brew link --overwrite hyperkit | |
brew install openssh | |
brew install iftop | |
brew install httpie | |
brew install jq | |
brew install yq | |
brew install gawk | |
brew install pass | |
brew install bash-completion | |
brew install imagemagick | |
brew install readline | |
brew install hg | |
brew install exa | |
brew install coreutils | |
brew install gnu-sed | |
brew install mp3splt | |
brew install telnet | |
brew install nmap | |
brew install netcat | |
brew install ncurses | |
brew install nano | |
brew install nordvpn | |
brew install 1password-cli | |
op signin my.1password.com [email protected] | |
brew install fontforge | |
brew install gh | |
brew install nativefier | |
brew install pinentry-mac | |
brew install antigen | |
source $(brew --prefix)/share/antigen/antigen.zsh | |
brew install pbcopy | |
brew install sops | |
brew install graphviz | |
brew install tcl-tk | |
brew install sshuttle | |
brew install kuttl | |
brew install just | |
#java | |
brew install openjdk@17 | |
brew install openjdk@21 | |
brew install maven | |
brew install jvmtop | |
brew install jenv | |
# scala | |
brew install sbt | |
brew install scala | |
brew install scalacenter/bloop/bloop | |
brew install Virtuslab/scala-cli/scala-cli | |
brew install ammonite-repl | |
# rust | |
brew install rust | |
brew install rustup | |
brew install rustup-init | |
# python | |
brew install pyenv #skipped | |
brew install pipenv | |
brew install poetry | |
# node | |
brew install npm | |
brew install node | |
brew install nvm | |
brew install --build-from-source node@10 | |
# ruby | |
brew install ruby | |
brew install rbenv | |
brew install ruby-build | |
# terraform | |
brew install terraform | |
brew install tfenv | |
# data | |
brew install avro-tools | |
brew install avro-c | |
brew install protobuf | |
brew install parquet-tools | |
# k8s | |
brew install kubernetes-cli | |
brew link --overwrite kubernetes-cli #/usr/local/bin/kubectl -> /Applications/Docker.app/Contents/Resources/bin/kubectl | |
brew install kubernetes-helm | |
brew install kubectx | |
brew install k9s | |
brew install openshift-cli | |
brew install minikube | |
# azure | |
brew tap azure/functions | |
brew install Azure/kubelogin/kubelogin | |
brew install azure-functions-core-tools@4 | |
#aws | |
brew install awscli | |
brew install aws2 | |
brew tap aws/tap | |
brew install aws-sam-cli | |
brew install container-tools | |
brew link --overwrite docker-credential-helper-ecr | |
brew install k8s-tools | |
aws configure --profile [name] | |
# gcp | |
brew install gcloud #skipped | |
# cloudflare | |
brew install cloudflare-wrangler2 | |
# frameworks | |
brew install apache-spark | |
brew install apache-flink | |
brew install hadoop | |
brew install cassandra | |
brew install cql | |
brew install kafka # brew services start kafka | |
brew install kcat | |
brew install postgres # brew services start postgresql / initdb --locale=C -E UTF-8 /opt/homebrew/var/postgres | |
brew install mysql #skipped | |
brew install redis #skipped | |
brew install --cask snowflake-snowsql | |
#maybe when `dyld: lazy symbol binding failed` | |
#brew reinstall pkg-config | |
#brew install librdkafka --HEAD | |
#mongo | |
brew tap mongodb/brew | |
brew install mongosh | |
brew install mongocli | |
brew install mongodb-database-tools | |
brew install [email protected] | |
#other | |
brew install exercism | |
touch ~/.nanorc | |
cat > "~/.nanorc" <<EOF | |
# Enable syntax highlighting in Nano | |
include "/opt/homebrew/Cellar/nano/7.2/share/nano/*.nanorc" | |
EOF | |
# git clone https://github.com/powerline/fonts.git --depth=1 | |
# cd fonts | |
# ./install.sh | |
# cd .. | |
# rm -rf fonts | |
# pip install awscli | |
# aws configure | |
# pip install theano tensorflow keras pandas matplotlib h5py sklearn pillow jupyter | |
# alias hsitory='history' | |
# brew services restart mongodb | |
# pip install pre-commit | |
# pip install databricks-cli | |
# pip3 install databricks-cli | |
# pip uninstall ply; pip uninstall pyhcl; pip install ply; pip install pyhcl | |
# pip3 uninstall ply; pip3 uninstall pyhcl; pip3 install ply; pip3 install pyhcl | |
# pip install databricks-cloud-automation | |
# pip install pylint | |
# pip3 install databricks-cloud-automation | |
# pip3 install jupyter | |
# pip3 install jupyterlab | |
# pip3 install toree | |
gpg --import [key.asc] | |
git config --global user.signingkey 80EF0647A0389493 | |
git config --global commit.gpgsign true | |
git config --global init.defaultBranch main | |
git config --global gpg.program $(which gpg) | |
echo "default-cache-ttl 3600" >> ~/.gnupg/gpg-agent.conf | |
# prepend | |
echo -e " | |
# GPG (issue: https://gist.github.com/repodevs/a18c7bb42b2ab293155aca889d447f1b) | |
export GPG_TTY=\$(tty) | |
export DEFAULT_USER=\$(whoami) | |
$(cat ~/.zshrc)" > ~/.zshrc | |
#append | |
echo ' | |
# SSH | |
export PATH="/usr/local/opt/[email protected]/bin:$PATH" | |
export LDFLAGS="-L/usr/local/opt/[email protected]/lib" | |
export CPPFLAGS="-I/usr/local/opt/[email protected]/include" | |
# gnu | |
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH" | |
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH" | |
# Language Conf | |
export LANG="en_US.UTF-8" | |
export LC_ALL="en_US.UTF-8" | |
export LC_CTYPE="en_US.UTF-8" | |
# Aliasses | |
alias l="exa -al --git" | |
alias ll="exa -al --git" | |
alias llt="exa -alT --git" | |
alias k="kubectl" | |
# jenv settings | |
export PATH="$HOME/.jenv/bin:$PATH" | |
eval "$(jenv init -)" | |
export JENV_ROOT=~/.jenv | |
# Kube Config | |
export KUBECONFIG=$HOME/.kube/config | |
# Pipenv | |
PIPENV_IGNORE_VIRTUALENVS=1 | |
# Pyenv | |
export PYENV_ROOT="$HOME/.pyenv" | |
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" | |
eval "$(pyenv init -)" | |
# Helm | |
export HELM_EXPERIMENTAL_OCI=1 | |
# Ruby | |
export SDKROOT=$(xcrun --show-sdk-path) | |
export PATH="/usr/local/opt/ruby/bin:$PATH" | |
export PATH="/usr/local/lib/ruby/gems/3.0.0/bin:$PATH" | |
export LDFLAGS="-L/usr/local/opt/ruby/lib" | |
export CPPFLAGS="-I/usr/local/opt/ruby/include" | |
export PKG_CONFIG_PATH="/usr/local/opt/ruby/lib/pkgconfig" | |
# Use GNU sed | |
alias sed=gsed | |
# Antigen | |
source $(brew --prefix)/share/antigen/antigen.zsh | |
# UUID | |
alias uuidgen='uuidgen | tr "[:upper:]" "[:lower:]"' | |
# Docker | |
export DOCKER_DEFAULT_PLATFORM=linux/amd64 | |
#1Password | |
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock | |
# NVM | |
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 | |
# AWS | |
export AWS_PAGER=jq | |
' >> ~/.zshrc | |
source ~/.zshrc | |
p10k configure | |
jenv enable-plugin export | |
mkdir -p ~/.jenv/versions | |
#jenv add .. | |
#jenv add /Library/Java/JavaVirtualMachines/openjdk-8.jdk/Contents/Home | |
echo ' | |
# Github | |
Host * | |
IgnoreUnknown AddKeysToAgent,UseKeychain | |
AddKeysToAgent yes | |
UseKeychain yes | |
IdentityFile ~/.ssh/id_rsa | |
' >> ~/.ssh/config | |
/usr/bin/ssh-add -K ~/.ssh/id_rsa | |
gh auth login | |
git config --global core.ignoreCase true | |
#brew untap adoptopenjdk/openjdk | |
#brew untap sambadevi/powerlevel9k | |
#brew untap caskroom/versions | |
#brew cleanup | |
# Minikube Docker Registry | |
#eval $(minikube docker-env) | |
# Install manually | |
# https://github.com/rodyager/RWTS-PDFwriter | |
bash > | |
[[ -r "/opt/homebrew/etc/profile.d/bash_completion.sh" ]] && . "/opt/homebrew/etc/profile.d/bash_completion.sh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pipenv install --dev pipenv-setup