Toolのインストール
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo >> ~/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
brew install neofetch
brew install fastfetch
brew install --cask karabiner-elements
brew install --cask spectacle
brew install --cask google-chrome
brew install tree
brew install bat
brew install wget
brew install watch
brew install htop
brew install ffmpeg
brew install socat
brew install sshuttle
brew install awscli
brew install azure-cli
brew install google-cloud-sdk
brew install oci-cli
brew install flyctl
brew install ibm-cloud-cli
aws configure sso --profile default
brew install libpq
brew install duckdb
echo 'export PATH="/opt/homebrew/opt/libpq/bin:$PATH"' >> ~/.zshrc
echo 'export LDFLAGS="-L/opt/homebrew/opt/libpq/lib"' >> ~/.zshrc
echo 'export CPPFLAGS="-I/opt/homebrew/opt/libpq/include"' >> ~/.zshrc
source ~/.zshrc
brew install orbstack
brew install kubernetes-cli@1.30
echo 'source <(kubectl completion zsh)' >> ~/.zshrc
echo 'export PATH="/opt/homebrew/opt/kubernetes-cli@1.30/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
brew tap carvel-dev/carvel
brew install ytt kbld kapp imgpkg vendir kctrl
brew install buildpacks/tap/pack
brew tap vmware-tanzu/tanzu
brew install tanzu-cli
brew install int128/kubelogin/kubelogin
brew install helm
brew install stern
brew install kind
curl -sL https://github.com/itaysk/kubectl-neat/releases/download/v2.0.4/kubectl-neat_darwin_arm64.tar.gz | tar xzvf - -C /tmp
sudo mv /tmp/kubectl-neat /usr/local/bin/
brew install cloudfoundry/tap/cf-cli@8
brew install qemu
brew install lima
brew install socket_vmnet
sudo cp -r /opt/homebrew/opt/socket_vmnet /opt/socket_vmnet
sudo chown -R root /opt/socket_vmnet/bin
limactl sudoers | sudo tee /etc/sudoers.d/lima
brew install --cask intellij-idea
brew install --cask zed
curl -s "https://get.sdkman.io" | bash
source ~/.sdkman/bin/sdkman-init.sh
sdk install java 21.0.5-graal
sdk install java 17.0.12-graal
sdk install java 8.0.432-librca
sdk default java 21.0.5-graal
brew install maven ant
brew install tomcat
brew install node@22
echo 'export PATH="/opt/homebrew/opt/node@22/bin:$PATH"' >> ~/.zshrc
brew tap hashicorp/tap
brew install hashicorp/tap/vault
brew install sops
brew install age
brew install llama.cpp
brew install ollama
brew install --cask vmware-fusion
brew install --cask slack
brew install --cask zoom
gitの設定
git config --global user.email "makingx@gmail.com"
git config --global user.name "Toshiaki Maki"
zshの設定
echo "alias ll='ls -laGh'" >> ~/.zshrc
cat <<'EOF' >> ~/.zshrc
precmd () {
psvar=()
psvar[1]=$(kubectl config current-context)
}
export PROMPT='(%~)[%1v] $ '
EOF
source ~/.zshrc
IntelliJ IDEAの設定
- Settings -> General -> Appearance -> check "Show whitespaces"
- Settings -> Editor -> Code Style -> YAML -> Uncheck "Indent sequence value"
Karabiner-Elementsの設定
コントロールセンタ
キーボード
「キーボードショートカット」→「入力ソース」
トラックパッド
プライバシーとセキュリティ
ログイン時に開くアプリ
IntelliJ IDEA
mkdir -p ~/idea/plugins
wget https://repo1.maven.org/maven2/io/spring/javaformat/spring-javaformat-intellij-idea-plugin/0.0.43/spring-javaformat-intellij-idea-plugin-0.0.43.jar -P ~/idea/plugins
- "Settings" -> "Plugins" -> "Install Plugin from Disk" ->
~/idea/plugins/spring-javaformat-intellij-idea-plugin-0.0.43.jar - "Settings" -> "Editor" -> "Code Style" -> "YAML" -> "Tabs and Indents" -> Uncheck "Indent sequence value"