chsh -s /bin/zsh
sudo softwareupdate -i -a
xcode-select --install
sudo xcode-select --reset
sudo xcodebuild -license accept

/bin/bash -c "$(curl -fsSL <https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh>)"

brew install act
brew install awscli
brew install awsume
brew install fx
brew install helm
brew install jq
brew install kubernetes-cli
brew install mas
brew install nvm
brew install pyenv
brew install tfenv
brew install tmux
brew install wget
brew install yq

brew tap adoptopenjdk/openjdk
brew install --cask adoptopenjdk11
brew install --cask adoptopenjdk8
brew install --cask android-studio
brew install --cask android-sdk
brew install jenv
brew install --cask intel-haxm

brew tap dart-lang/dart
brew install dart
dart pub global activate fvm
brew tap leoafarias/fvm
brew install fvm
pub global activate fvm

brew install --cask anydesk
brew install --cask appcleaner
brew install --cask ccleaner
brew install --cask cheatsheet
brew install --cask dbeaver-community
brew install --cask docker
brew tap homebrew/cask-fonts
brew install --cask font-jetbrains-mono
brew install --cask google-cloud-sdk
brew install --cask google-chrome
brew install --cask intellij-idea-ce
brew install --cask microsoft-teams
brew install --cask notion
brew install --cask pomodone
brew install --cask postman
brew install --cask dotnet-sdk
brew install --cask tunnelblick
brew install --cask scroll-reverser
brew install --cask sourcetree
brew install --cask spectacle
brew install --cask spotify
brew install --cask the-unarchiver
brew install --cask visual-studio-code
brew install --cask zoom

open -a "Google Chrome" --args --make-default-browser

npm install --global yarn
echo 'export PATH="$(yarn global bin):$PATH"' >> ~/.zshrc

sudo chown -R $(whoami) /usr/local/share/zsh /usr/local/share/zsh/site-functions
sudo chmod -R 755 /usr/local/share/zsh
sudo chown -R $(whoami):staff /usr/local/share/zsh

echo 'Install Bitwarden'
mas install 1352778147

ehco 'Install paste'
mas install 967805235

echo 'Install Slack'
mas install 803453959
echo 'Install Line'
mas install 539883307

echo 'Telegram'
mas install 747648890

echo 'Transporter'
mas install 1450874784

cat << EOF >> ~/.zprofile
source "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc"
source "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc"
# Add Visual Studio Code (code)
export PATH="\\$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
EOF

ln -s "$HOME/.vimrc" "$HOME/.ideavimrc"

cat << EOF >> ~/.zprofile
jenv global 1.8
export PATH="$HOME/.jenv/bin:$PATH"
eval "$(jenv init -)"
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
export ANDROID_SDK_ROOT=/usr/local/share/android-sdk

export PATH="$PATH:$HOME/.pub-cache/bin"
*EOF*

jenv add /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/
jenv add /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/

sdkmanager "emulator" "system-images;android-25;default;x86_64"
sdkmanager "platform-tools" "platforms;android-29"
avdmanager create avd -n "Android" -k "system-images;android-25;default;x86_64"

fvm install 1.22.6
fvm use 1.22.6

ideavim in Windows

:/c/Users/yosap$ cp ~/.vimrc _ideavimrc

.vimrc

syntax on
set number
set clipboard=unnamed
set autoread
set list lcs=tab:\\|\\ ,trail:ยท
inoremap jj <esc>
inoremap jk <esc>