Skip to content

Instantly share code, notes, and snippets.

@daviddao
Last active December 23, 2023 22:48
Show Gist options
  • Save daviddao/b7b4ff9800ec5f78e5879f6080274efd to your computer and use it in GitHub Desktop.
Save daviddao/b7b4ff9800ec5f78e5879f6080274efd to your computer and use it in GitHub Desktop.
Set up when Mac crashes
#!/bin/bash
# brew install essential apps
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
(echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> /Users/david/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
# brew install iterm2
# brew install zsh
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# upgrade_oh_my_zsh
brew install fish
brew install tmux
brew install visual-studio-code
brew install --cask amethyst
# brew install --cask warp
brew install zoom
brew install bitwarden
brew install google-chrome
brew install slack
brew install node
brew install wget
brew install gcc
brew install yarn
brew install --cask brave-browser
brew install --cask alacritty
brew install --cask arc
brew install jump
brew install bat
brew install exa
brew install bottom
brew install bandwhich
brew install dust
brew install hyperfine
brew install ffmpeg
# download usable python
brew install miniforge
# install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source "$HOME/.cargo/env"
cargo install ripcurl
cargo install sccache
cargo install bat
cargo install cargo-info
cargo install rtx-cli
cargo install zellij
cargo install broot
# install go
brew install go
brew install starship
# setup .vimrc
git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh
# vscode extensions
code --install-extension eamodio.gitlens
code --install-extension ms-vscode-remote.vscode-remote-extensionpack
code --install-extension ms-vscode-remote.remote-ssh
code --install-extension ms-toolsai.jupyter
code --install-extension ms-python.python
code --install-extension matklad.rust-analyzer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment