Skip to content

Commit

Permalink
feat: improve mac install
Browse files Browse the repository at this point in the history
  • Loading branch information
n-ae committed Jun 5, 2024
1 parent be1eb65 commit ff30976
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions useful-scripts/mac_fresh_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
eval "$(/opt/homebrew/bin/brew shellenv)"
brew update && brew upgrade

brew install --cask firefox
# brew install --cask firefox
brew install --cask google-chrome
brew install --cask adguard
brew install --cask protonvpn
Expand All @@ -21,19 +21,25 @@ brew install docker
brew install colima
brew install --cask postman

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. "$HOME/.cargo/env"
# yew:
rustup target add wasm32-unknown-unknown
cargo install --locked trunk
cargo install --locked wasm-bindgen-cli
# yewN
# rust & yew
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# . "$HOME/.cargo/env"
# # yew:
# rustup target add wasm32-unknown-unknown
# cargo install --locked trunk
# cargo install --locked wasm-bindgen-cli
# # yewN

# node:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash
nvm install node # "node" is an alias for the latest version
# node

brew install --cask ngrok
brew tap cargo-lambda/cargo-lambda
brew install cargo-lambda
# brew install --cask ngrok
# brew tap cargo-lambda/cargo-lambda
# brew install cargo-lambda

# disable bottom right corner hover quick action
defaults write com.apple.dock wvous-br-corner -int 0 && \
defaults write com.apple.dock wvous-br-modifier -int 0 && \
killall Dock

0 comments on commit ff30976

Please sign in to comment.