xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install zsh
sudo sh -c "echo $(which zsh) >> /etc/shells"
chsh -s $(which zsh)
brew install git
brew install hub
brew install ripgrep
brew install ruby
brew install vim
brew install wget
brew install postgresql
brew services start postgresql
brew install --cask 1password
brew install --cask adobe-acrobat-reader
brew install --cask alfred
brew install --cask caffeine
brew install --cask dash
brew install --cask dropbox
brew install --cask firefox
brew install --cask flux
brew install --cask google-chrome
brew install --cask slack
brew install --cask sublime-merge
brew install --cask sublime-text
- Sophos Antivirus from website
- Moom from App Store (for license)
git clone [email protected]:merhard/dotfiles.git ~/dotfiles
~/dotfiles/install.sh
https://asdf-vm.com/guide/getting-started.html
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
brew install gpg
brew install gawk
export GNUPGHOME="$ASDF_DIR/keyrings/nodejs" &&
mkdir -p "$GNUPGHOME" &&
chmod 0700 "$GNUPGHOME"
bash "$ASDF_DIR/plugins/nodejs/bin/import-release-team-keyring"
NODEJS_VERSION=$(asdf list all nodejs | tail -1) &&
asdf install nodejs $NODEJS_VERSION &&
asdf global nodejs $NODEJS_VERSION
npm install -g npm
asdf plugin add elixir https://github.com/asdf-vm/asdf-elixir.git
brew install unzip
ELIXIR_VERSION=$(asdf list all elixir | grep -v "^[a-z]" | tail -1) &&
asdf install elixir $ELIXIR_VERSION &&
asdf global elixir $ELIXIR_VERSION
mix local.hex --force
mix local.rebar --force
(Installed after Elixir so I know which version to get) https://hexdocs.pm/elixir/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp
asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git
brew install autoconf
brew install [email protected]
brew install unixodbc
brew install wxwidgets
KERL_HOME="$ASDF_DIR/plugins/erlang/kerl-home" &&
mkdir "$KERL_HOME" &&
echo "KERL_CONFIGURE_OPTIONS=\"--disable-debug --without-javac --with-ssl=$(brew --prefix [email protected])\"" > "$KERL_HOME/.kerlrc"
ERLANG_MAJOR_VERSION=$(asdf list elixir | ruby -e 'puts ARGF.read.split("otp-").last') &&
ERLANG_VERSION=$(asdf list all erlang | grep "^$ERLANG_MAJOR_VERSION" | tail -1) &&
asdf install erlang $ERLANG_VERSION &&
asdf global erlang $ERLANG_VERSION
asdf plugin add ruby https://github.com/asdf-vm/asdf-ruby.git
brew install [email protected]
brew install readline
RUBY_VERSION=$(asdf list all ruby | grep -v "[a-z]" | tail -1) &&
RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix [email protected])" \
asdf install ruby $RUBY_VERSION &&
asdf global ruby $RUBY_VERSION
bundle config --global jobs $(( $(sysctl -n hw.ncpu) - 1 ))
# Disable smart quotes
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
# Disable smart dashes
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false
# Show hidden files in Finder
defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder