Skip to content

Instantly share code, notes, and snippets.

@jmacias
Forked from dgraham/osx-setup.sh
Created December 25, 2020 01:45
Show Gist options
  • Save jmacias/6258618f1001dfd7aa14f68d318e2b67 to your computer and use it in GitHub Desktop.
Save jmacias/6258618f1001dfd7aa14f68d318e2b67 to your computer and use it in GitHub Desktop.
A setup script for macOS development.
xcode-select --install
if [ ! -x /usr/local/bin/brew ]; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
brew tap 'homebrew/cask'
brew tap 'homebrew/cask-fonts'
brew tap 'homebrew/bundle'
brew tap 'homebrew/core'
brew tap 'homebrew/services'
brew install automake clang-format cmake icu4c libressl libxml2 openssl pkg-config readline sqlite yajl
brew install deno go node python ruby rust yarn
brew install ctags fd git gnupg graphviz jq pngquant ripgrep
brew install launchdns memcached mysql nginx postgresql redis
brew install --cask dropbox sketch
brew install --cask firefox google-chrome
brew install --cask docker java viscosity vmware-fusion zoom
brew install --cask font-fira-code font-fira-mono font-fira-sans
brew install --cask font-roboto font-roboto-mono font-roboto-slab font-roboto-condensed
brew install --cask font-source-code-pro font-source-sans-pro font-source-serif-pro
brew install --cask font-jetbrains-mono
git config --global user.name "David Graham"
git config --global user.email "[email protected]"
git config --global credential.helper osxkeychain
git config --global pull.rebase false
git clone https://github.com/dgraham/dotvim.git ~/.vim
cd ~/.vim
git submodule update --init
ln -s ~/.vim/vimrc ~/.vimrc
cd ~
cargo install racer
cargo install rustfmt
cargo install diesel_cli --no-default-features --features postgres
npm install -g prettier
curl -L -o /tmp/mute.zip https://github.com/dgraham/mute-github-thread/raw/master/Mute%20GitHub%20Thread.zip
unzip -d /tmp/mute /tmp/mute.zip > /dev/null
mv /tmp/mute/Mute\ GitHub\ Thread.workflow ~/Library/Services
rm -rf /tmp/mute.zip /tmp/mute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment