Skip to content

Instantly share code, notes, and snippets.

@aleclarson
Last active December 24, 2022 22:30
Show Gist options
  • Save aleclarson/6abe2f41a66d5692cb4a5758b562af9b to your computer and use it in GitHub Desktop.
Save aleclarson/6abe2f41a66d5692cb4a5758b562af9b to your computer and use it in GitHub Desktop.
macOS setup
export PATH="$HOME/dev/bin:$PATH"
mkdir ~/dev && cd $_
mkdir ./bin
# oh-my-zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# zsh port of rupa/z
git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z --depth 1
# homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# fzf
brew install fzf
# httpie
brew install httpie
# ripgrep
brew install ripgrep
# watchman
brew install watchman
# git
brew install git
# realpath
brew install coreutils
# node
brew install node
# yarn
brew install yarn
# nvm
git clone https://github.com/nvm-sh/nvm.git ~/.nvm --depth 1
# pnpm
curl -L https://unpkg.com/@pnpm/self-installer | PNPM_DEST="$HOME/.pnpm" PNPM_BIN_DEST="$HOME/dev/bin" node
# https://github.com/sindresorhus/pure
pnpm i -g pure-prompt ts-node typescript @aleclarson/bucket-runner indo
# aleclarson/dotfiles
cd ~/dev
pnpx degit https://github.com/aleclarson/dotfiles.git --force
sh init_dotfiles.sh
cd -
# vim plugins
vim -c 'PlugInstall | qa!'
# bun
curl https://bun.sh/install | bash
# gh
brew install gh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment