简体   繁体   中英

erlang from windows command line

Anyone knows how to open the Erlang shell from windows command line? In official tutorial recommended to write "werl" to the command prompt but this command doesn't work. PS I have installed erlang to my PC.

You have 2 simple ways to start an erlang shell on windows.

1) you can open a terminal directly into the folder that contains werl.exe you want. Use Shift + right click and choose "open terminal here". Then type "werl.exe"

2) you can go into that folder using "cd path", then type "werl.exe"

Also if you use werl.exe, a new window will open. If you want to stay with your windows terminal you should use erl.exe

werl uses the wxwidget library. Everything is installed automatically if you use the windows binary file .

If you have installed from source, then wxwidget must be installed separately.

It is possible to start the erlang shell in a dos window: start a command window with cmd, and start the erlang shell from this window using erl.

I guess that you already checked that werl exe is in the search path.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM