Last active
June 20, 2022 02:34
-
-
Save marsyang1/3799f7c9cd8d8c727a3d to your computer and use it in GitHub Desktop.
Mac Homebrew install Dev env
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# reference: https://dev.to/0xdonut/manage-your-runtime-environments-using-asdf-and-not-nvm-or-rvm-etc-2c7c | |
# | |
# https://asdf-vm.com/#/core-manage-asdf-vm?id=install-asdf-vm | |
# https://dancroak.com/asdf-version-manager | |
# | |
# install with dependencies | |
brew install coreutils curl git | |
# install asdf | |
brew install asdf | |
# add to zsh | |
vi ~/.zshrc | |
. $(brew --prefix asdf)/asdf.sh | |
# install flutter | |
asdf plugin add flutter | |
asdf install flutter latest | |
# checking install version | |
asdf list | |
# export to global default | |
asdf global flutter <version> | |
# base command | |
asdf current #Display current version being used for all packages | |
asdf where <name> <version> #Display install path for an installed version | |
asdf which <name> #Display install path for current version | |
asdf local <name> <version> #Set the package local version | |
asdf global <name> <version> #Set the package global version | |
asdf list <name> #List installed versions of a package | |
asdf list-all <name> #List all versions of a package | |
asdf reshim <name> <version> #Recreate shims for version of a package | |
### flutter check | |
flutter doctor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install with asdf dependencies , asdf: https://asdf-vm.com/#/core-manage-asdf-vm | |
brew install coreutils curl git | |
brew install gradle maven | |
brew install vim wget openssl telnet | |
# install system util | |
brew cask install keka intel-haxm iterm2 python3 | |
# install text editor | |
brew cask install sublime-text textmate | |
# isntall REST api tools | |
brew cask install insomnia | |
# install asdf | |
brew install asdf | |
# add to zsh | |
vi ~/.zshrc | |
. $(brew --prefix asdf)/asdf.sh | |
# add to bash | |
. $(brew --prefix asdf)/asdf.sh | |
echo -e "\n. $(brew --prefix asdf)/etc/bash_completion.d/asdf.bash" >> ~/.bash_profile | |
# add asdf runtime plugin | |
asdf plugin add java | |
# list all support java adoptopenjdk version | |
asdf list all java | grep adoptopenjdk | |
asdf install java adoptopenjdk-8.0.265+1 | |
asdf global java adoptopenjdk-8.0.265+1 | |
# checking all of install by asdf | |
asdf list | |
# using asdf where for checking jdk install path | |
asdf where java | |
# install virtualbox | |
brew cask install virtualbox vagrant vagrant-manager ansible | |
brew install go node | |
# install tools | |
brew cask install sequel-ace mysqlworkbench visual-studio-code | |
brew cask install macdown | |
# --------- | |
brew cask install spotify |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install git maven gradle | |
brew install vim wget openssl telnet | |
brew cask install macdown | |
brew cask install sublime-text | |
# https://github.com/AdoptOpenJDK/homebrew-openjdk | |
brew tap AdoptOpenJDK/openjdk | |
brew install adoptopenjdk8 | |
brew cask info java |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://medium.com/@yutafujii_59175/a-complete-one-by-one-guide-to-install-docker-on-your-mac-os-using-homebrew-e818eb4cfc3 | |
brew cask install virtualbox | |
# ---------------------------- | |
brew install docker docker-machine | |
docker-machine create --driver virtualbox default | |
docker-machine env default | |
eval "$(docker-machine env default)" | |
docker run hello-world | |
docker-machine stop default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment