我如何告诉 rebar3 在 Windows 上使用 werl?

How do I tell rebar3 to use werl on Windows?

这可能适用于任何钢筋命令,但主要是关于 rebar shell

默认情况下,钢筋使用 erl,这在 Windows 外壳上可能很笨重。

根据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