install chrome and iterm2
brew install --cask google-chrome iterm2
brew install git opencc tfenv android-platform-tools
mkdir .ssh
manual create ssh key
ssh-keygen -t rsa -b 4096
pbcopy < ~/.ssh/id_rsa.pub
vi ~/.ssh/config
setting ssh key with 1password
https://developer.1password.com/docs/ssh
export SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock
mkdir -p ~/.1password && ln -s ~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock ~/.1password/agent.sock
Host *
ServerAliveInterval 60
IdentityAgent ~/.1password/agent.sock
# GitHub
Host github
HostName github.com
User git
# IdentityFile ~/.ssh/id_rsa
# office
Host office
HostName 192.168.2.2
User purefunc
# IdentityFile ~/.ssh/id_rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub office
brew tap homebrew/cask-fonts
brew install --cask font-fira-code
brew cleanup
cd ~ && git clone [email protected] :Jian-Min-Huang/.vim.git
cd ~ && ln -s ~/.vim/.vimrc .
cd ~ && ln -s ~/.vim/.ideavimrc .
vi ~/.vimrc
:PlugInstall
zmodule romkatv/powerlevel10k
zmodule ohmyzsh/ohmyzsh -f 'lib' -s 'lib/clipboard.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/ansible' -s 'plugins/ansible/ansible.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/copybuffer' -s 'plugins/copybuffer/copybuffer.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/common-aliases' -s 'plugins/common-aliases/common-aliases.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/copypath' -s 'plugins/copypath/copypath.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/docker-compose' -s 'plugins/docker-compose/docker-compose.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/emoji' -s 'plugins/emoji/emoji.plugin.zsh'
#zmodule ohmyzsh/ohmyzsh -f 'plugins/fd' -s 'plugins/fd/_fd'
zmodule ohmyzsh/ohmyzsh -f 'plugins/git' -s 'plugins/git/git.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/gitfast' -s 'plugins/gitfast/gitfast.plugin.zsh'
#zmodule ohmyzsh/ohmyzsh -f 'plugins/kubectl' -s 'plugins/kubectl/kubectl.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/sudo' -s 'plugins/sudo/sudo.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/terraform' -s 'plugins/terraform/terraform.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/vi-mode' -s 'plugins/vi-mode/vi-mode.plugin.zsh'
zmodule ohmyzsh/ohmyzsh -f 'plugins/z' -s 'plugins/z/z.plugin.zsh'
p10k configure
source ${ZIM_HOME}/zimfw.zsh
zimfw install
brew update
brew tap homebrew/cask-drivers
brew install --cask karabiner-elements slack dropbox sourcetree postman keycastr discord alfred obs brave-browser qmk-toolbox anydesk figma 1password 1password-cli mongodb-compass orbstack obsidian openvpn-connect
brew cleanup
Jetbrains Toolbox
defaults write -g ApplePressAndHoldEnabled -bool false (press yes)
https://sdkman.io/install
vi ~/.zshrc
export GRAALVM_HOME=/Users/yfr/.sdkman/candidates/java/22.3.1.r17-grl
export PATH=${GRAALVM_HOME}/bin:$PATH
brew install pyenv
pyenv init
vi ~/.zshrc
pyenv install -l
pyenv install 3.11.3
pyenv global 3.11.3
pip install --upgrade pip
pip install ansible virtualenv
brew tap leoafarias/fvm
brew install fvm
fvm releases
fvm install 3.10.6
fvm global 3.10.6
export FVM_HOME="$HOME/fvm/default"
export PATH=${FVM_HOME}/bin:$PATH
flutter doctor
(maybe) flutter upgrade
install xcode
(Top) Window > Devices and Simulator, for manual open developer mode
(Left) Runner > Signing & Capabilities