Skip to content

Instantly share code, notes, and snippets.

@justinsoliz
Last active September 20, 2022 12:56
Show Gist options
  • Save justinsoliz/13cefa46571c49adbfa9d1624601247b to your computer and use it in GitHub Desktop.
Save justinsoliz/13cefa46571c49adbfa9d1624601247b to your computer and use it in GitHub Desktop.
Setting up new macbook

Downloads

Development

# git configuration setup
git config --global push.default simple
git config --global core.editor "vim"

# Set name and email in gitconfig
git config --global user.name "Justin Soliz"
git config --global user.email johndoe@example.com
git config --global push.default current

# Generate SSH keys (provide a good passphrase when asked)
ssh-keygen -t rsa -C "johndoe@example.com"

# install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# install dotfiles
# https://github.com/justinsoliz/dotfiles

# nvm/node.js
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash

# install node versions
nvm i 8
nvm i 10

# install yarn (without node)
brew install yarn --without-node

# install rustup
curl https://sh.rustup.rs -sSf | sh

# install thing
mkdir -p ~/dev/bin && cd ~/dev/bin
git clone https://github.com/jwilm/alacritty.git
make app
cp -r target/release/osx/Alacritty.app /Applications/


cd ~

# install other random things
brew install tree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment