Hopchenko Alexey
Hopchenko Alexey

Reputation: 41

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. P.S. I have installed erlang to my PC.

Upvotes: -1

Views: 5769

Answers (2)

Jules Martin
Jules Martin

Reputation: 31

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

Upvotes: 1

Pascal
Pascal

Reputation: 14042

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.

Upvotes: 0

Related Questions