Skip to content

Instantly share code, notes, and snippets.

@marsyang1
Last active July 16, 2025 07:33
Show Gist options
  • Select an option

  • Save marsyang1/3799f7c9cd8d8c727a3d to your computer and use it in GitHub Desktop.

Select an option

Save marsyang1/3799f7c9cd8d8c727a3d to your computer and use it in GitHub Desktop.
Mac Homebrew install Dev env
# 最好先個別下載安裝 iterm2
# Sublime Text 時常更新, 調整從網頁下載
# install with asdf dependencies , asdf: https://asdf-vm.com/#/core-manage-asdf-vm
brew install coreutils curl git
brew install gradle maven
# 有很多工具都會用到 python3 , 先裝當作系統預設版本
brew install python3
brew install vim wget openssl telnet
# install system util , intel-haxm was disabled on 2024-12-16
brew install keka --cask
# install text editor
brew install sublime-text textmate --cask
# isntall REST api tools
brew install insomnia --cask
echo 'alias ll="ls -l"' >> ~/.zshrc
# install asdf
brew install asdf
# add asdf to zsh
echo 'export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"' >> ~/.zshrc
# add asdf runtime plugin
asdf plugin add java
# list all support java adoptopenjdk version
asdf list all java | grep liberica
asdf install java liberica-8u452+11
# install temurin JDK 17/21
asdf list all java | grep temurin
asdf install java temurin-17.0.15+6
asdf install java temurin-21.0.7+6.0.LTS
# set java global version , setting file will be saved at $HOME/.tool-versions
asdf set -u java temurin-21.0.7+6.0.LTS
# checking all of install by asdf
asdf list
# using asdf where for checking jdk install path
asdf where java
# 處理前端需求用
asdf plugin add nodejs
asdf install nodejs 18.20.8
asdf plugin add python
asdf install python 3.13.5
# install tools
brew install mysqlworkbench visual-studio-code --cask
brew install macdown --cask
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment