LinuxCommandLibrary

elvish

Expressive programming language and a versatile interactive shell.

TLDR

Start an interactive shell session

$ elvish
copy


Execute specific [c]ommands
$ elvish -c "[echo 'elvish is executed']"
copy


Execute a specific script
$ elvish [path/to/script.elv]
copy

SYNOPSIS

elvish [flags] [script]

FLAGS

-bin string

path to the elvish binary

-buildinfo

show build info and quit

-c

take first argument as a command to execute

-compileonly

Parse/Compile but do not execute

-cpuprofile string

write cpu profile to file

-daemon

run daemon instead of shell

-db string

path to the database

-deprecation-level int

show warnings for all features deprecated as of version 0.X (default 15)

-help

show usage help and quit

-json

show output in JSON. Useful with -buildinfo.

-log string

a file to write debug log to

-norc

run elvish without invoking rc.elv

-port int

the port of the web backend (default 3171)

-sock string

path to the daemon socket

-version

show version and quit

-web

run backend of web interface

DESCRIPTION

Elvish is a cross-platform shell, supporting Linux, BSDs and Windows. It features an expressive programming language, with features like namespacing and anonymous functions, and a fully programmable user interface with friendly defaults. It is suitable for both interactive use and scripting.

SEE ALSO

https://elvish.io

AUTHOR

This manual page was written by Shengjing Zhu <zhsj@debian.org>, for the Debian GNU/Linux system (but may be used by others).

Copied to clipboard