All apps/Elvish

Elvish

elvish

Friendly and expressive shell

Runs as elvish|macOS, Linux, Windows|elv.sh

Command form

ai-draft · 4 tasks · 6 fields

Run an Elvish script file or a single code chunk non-interactively, or check it without executing. Daemon, language-server and logging flags are not covered.

Opens the form; the finished command lands at your prompt, unrun
otty gui elvish
Run an Elvish scriptExample values, fixed in this page — nothing here reaches a terminal
Basic
Script file or code*
string
Script arguments
string
TasksEach one presets the form for one job
Run a script file
scriptargs
Check a script without running it
compile_onlyscript
Run a code chunk
codescript
Try an interactive config
rc
ParametersOnly these flags are editable in the form
Run as code
Treat the script argument as code to execute instead of a filename.
boolean
-c
Check only
Parse and compile without executing.
boolean
-compileonly
Script file or code
string · positional 0
Script arguments
Available to the script as $args.
string · positional 1 · repeatable
Skip RC file
Only applies when starting an interactive shell, so leave Script empty.
boolean
-norc
RC file
Only applies when starting an interactive shell, so leave Script empty.
path
-rc
SourcesEvery flag above is checked against these
manual
If the `-c` flag is given, the first argument is executed as a single code chunk. If the `-c` flag is not given, the first argument is taken as a filename, and the content of the file is executed as a single code chunk. The remaining arguments are put in `$args`. - `-c`: Treat the first argument as code to execute, instead of name of file to execute. - `…
manual2026-10-27

elv.sh

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