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.
According to this source
You can run rebar3 (and any other escript) with
werl
by specifying theESCRIPT_EMULATOR
environment variable. In a Git bash that would be:ESCRIPT_EMULATOR=werl rebar3 shell