Created
July 27, 2023 19:45
-
-
Save heri16/08a097614de2fbfedcabee7d9f972d4c to your computer and use it in GitHub Desktop.
Erlang for bun:ffi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install asdf | |
brew install coreutils git | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.12.0 | |
cat <<EOF >> ~/.zshrc | |
. "$HOME/.asdf/asdf.sh" | |
# append completions to fpath | |
fpath=(${ASDF_DIR}/completions $fpath) | |
# initialise completions with ZSH's compinit | |
autoload -Uz compinit && compinit | |
EOF | |
. "$HOME/.zshrc" | |
# Install erlang | |
asdf plugin add erlang | |
brew install openssl@3 wxwidgets | |
export KERL_CONFIGURE_OPTIONS="--enable-ei-dynamic-lib --with-ssl=$(brew --prefix openssl@3)" | |
asdf install erlang 25.3.2.4 | |
asdf global erlang 25.3.2.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment