Ensure you have homebrew installed. See https://brew.sh
brew install coreutils curl git libyaml asdf
Add the following to ~/.zshrc
plugins=(asdf)
If you want YJIT in Ruby, you'll need to install Rust.
asdf plugin add rust
asdf install rust latest
asdf global rust latest
asdf plugin add ruby
export RUBY_CONFIGURE_OPTS=--enable-yjit
asdf install ruby 3.3.5
# Optionally
asdf global ruby 3.3.5
ruby -v --yjit