HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

elvish — Expressive programming language and a versatile interactive shell. See also: `nu`. More information:

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlanguageandcliprogrammingexpressiveversatileelvish

Problem

How to use the elvish command: Expressive programming language and a versatile interactive shell. See also: nu. More information: <https://elv.sh/ref/command.html>.

Solution

elvish — Expressive programming language and a versatile interactive shell. See also: nu. More information: <https://elv.sh/ref/command.html>.

Start an interactive shell session:
elvish


Execute specific [c]ommands:
elvish -c "{{echo 'elvish is executed'}}"


Execute a specific script:
elvish {{path/to/script.elv}}

Code Snippets

Start an interactive shell session

elvish

Execute specific [c]ommands

elvish -c "{{echo 'elvish is executed'}}"

Execute a specific script

elvish {{path/to/script.elv}}

Context

tldr-pages: common/elvish

Revisions (0)

No revisions yet.