User Tools

Site Tools


programming:elixir:setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
programming:elixir:setup [2023/06/21 08:54] – Explain how to install Erlang/Elixir maferreiraprogramming:elixir:setup [2023/06/27 09:52] (current) – [Elixir] maferreira
Line 9: Line 9:
 ===== Erlang ===== ===== Erlang =====
 <code bash> <code bash>
-$ asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git+$ asdf plugin add erlang https://github.com/asdf-vm/asdf-erlang.git
 </code> </code>
  
Line 22: Line 22:
 Also, since the Java interface is not used, you can disable it. Also, since the Java interface is not used, you can disable it.
 <code bash> <code bash>
 +$ export KERL_BUILD_DOCS=yes
 $ export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac" $ export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac"
 $ asdf install erlang <VERSION> $ asdf install erlang <VERSION>
Line 50: Line 51:
 <code bash> <code bash>
 $ asdf global elixir <VERSION> $ asdf global elixir <VERSION>
 +</code>
 +
 +If you want to navigate through **iex**'s command history, add the following to the startup file of your shell (**.bashrc** or **.zshrc**)
 +
 +<code bash>
 +export ERL_AFLAGS="-kernel shell_history enabled"
 </code> </code>
programming/elixir/setup.1687337650.txt.gz · Last modified: 2023/06/21 08:54 by maferreira