Skip to content

Instantly share code, notes, and snippets.

@NitnekB
Last active January 17, 2023 20:20
Show Gist options
  • Select an option

  • Save NitnekB/76f31baa89974408b7b38f62b8f23aea to your computer and use it in GitHub Desktop.

Select an option

Save NitnekB/76f31baa89974408b7b38f62b8f23aea to your computer and use it in GitHub Desktop.
Full setup with ASDF install with Erlang tricks
## SETUP
_Rendez-vous_ on https://brew.sh/ to install brew using command line.
You'll need to install some things before using ASDF (see below).
```bash
brew install coreutils curl git
```
Optionally, you can install other things...
```bash
brew install diff-so-fancy
brew tap homebrew/cask-fonts
brew install --cask font-fira-code
```
## ASDF
[Install ASDF](https://asdf-vm.com/guide/getting-started.html#_5-install-a-version)
Just declare variable below before install
```bash
export KERL_CONFIGURE_OPTIONS="--without-wx --without-javac"
export ERLANG_OPENSSL_PATH="/usr/local/opt/openssl"
```
New install openSSL using brew
```bash
brew install openssl
```
cf. https://erlangforums.com/t/erlang-installation-using-kerl-on-mac-m1-openssl-dependency/1306/5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment