All apps/Erlang/OTP

Erlang/OTP

erlang

A programming language used to build massively scalable soft real-time systems.

Runs as erl, erlc|macOS, Linux, Windows|www.erlang.org

Command form

ai-draft · 3 tasks · 13 fields

Start an Erlang/OTP runtime (erl): run an expression, set the code path, or start or attach to a distributed node. Compiling with erlc and emulator (+) flags are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui erlang
Start the Erlang shellExample values, fixed in this page — nothing here reaches a terminal
Basic
Short node name
string
Cookie
string
Prepend code path
directory
TasksEach one presets the form for one job
Start a shell with code path
pasnamesetcookie
Run an expression and exit
evalnoshellpa
Attach to a running node
remshsnamesetcookie
ParametersOnly these flags are editable in the form
Short node name
Start a distributed node with a short name.
string
-sname
Long node name
Start a distributed node named Name@Host.
string
-name
Cookie
string
-setcookie
Remote shell to node
Connect a remote shell to this node, for example node@host.
string
-remsh
Evaluate expression
Erlang expression to evaluate at startup, for example io:format("hi~n").
string
-eval
No shell
Run without an interactive shell, for scripts and pipes.
boolean
-noshell
No input
boolean
-noinput
Prepend code path
path
-pa
Append code path
path
-pz
Boot file
string
-boot
Config file
Config file name without the .config extension.
string
-config
Hidden node
boolean
-hidden
Run detached
boolean
-detached
SourcesEvery flag above is checked against these
docs
erl documentation, https://www.erlang.org/doc/apps/erts/erl_cmd.html (the form drives erl; erlc is not covered) -eval Expr (init flag) - Makes init evaluate the expression Expr -noshell - Starts an Erlang runtime system with no shell. -noinput - Ensures that the Erlang runtime system never tries to read any input. Implies -noshell. -name Name - Makes the Erl…
manualOTP 29.1

www.erlang.org

Before it fills your prompt, Otty checks the installed erl against its version. A form that does not match your version is not offered.