Last active
January 26, 2018 17:42
-
-
Save kjrocker/fa1728c89fe5350b2eeafaf5c4b4d41f to your computer and use it in GitHub Desktop.
Mac Config
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
# Install Homebrew and some Basics | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install git coreutils gpg gcc openssh zsh | |
chsh -s $(which zsh) | |
# Get some dotfiles | |
git clone git://github.com/kjrocker/dotfiles.git ~/dotfiles | |
brew tap thoughtbot/formulae | |
brew install rcm | |
# Install vim-plug, setup the dotfiles | |
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ | |
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
env RCRC=$HOME/dotfiles/rcrc rcup | |
# Download Enpass | |
curl -o ~/Desktop/enpass.dmg https://dl.sinew.in/mac/setup/Enpass-5.6.3.dmg | |
# Download and configure ASDF | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.3.0 | |
asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git | |
asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git | |
asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git | |
asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git | |
bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring | |
asdf-use() { | |
asdf install $1 $2 | |
asdf global $1 $2 | |
} | |
asdf-use nodejs 8.9.4 | |
asdf-use erlang 20.1 | |
asdf-use elixir 1.6.0-otp-20 | |
asdf-use ruby 2.5.0 | |
ssh-keygen | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment