実行環境
OS | macOS Ventura 13.5 |
---|---|
shell | zsh 5.9 (x86_64-apple-darwin22.0) |
middleware | Homebrew 4.1.5 |
本記事で得られる結果
- asdfの実行環境
参考資料
事前準備
- Homebrewがインストール済みであること
手順
-
asdfが依存しているツール群のインストール
brew install coreutils curl git
-
asdfのダウンロード
brew install asdf
-
asdfのインストール(zsh+Homebrewの場合)
echo -e "\n. $(brew --prefix asdf)/libexec/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc
-
各種プラグインのインストール
- node.jsの場合
- PHPの場合