0

This may apply to any rebar commands but it is mostly about rebar shell.

By default rebar uses erl and this might be clunky on Windows shells.

aronisstav
  • 7,755
  • 5
  • 23
  • 48

1 Answers1

0

According to this source

You can run rebar3 (and any other escript) with werl by specifying the ESCRIPT_EMULATOR environment variable. In a Git bash that would be:

ESCRIPT_EMULATOR=werl rebar3 shell
aronisstav
  • 7,755
  • 5
  • 23
  • 48
  • 1
    Good, on windows I simply create the environment variable using control panel -> system -> Advanced system settings -> Environment Variables. and that's it. – Pascal Nov 12 '20 at 16:43