Use a <script> at the beginning of <body> to ensure that the demo carousel start out folded instead of expanded.
4.7 KiB
Elvish is an expressive programming language and a versatile interactive shell, combined into one seamless package. It runs on Linux, BSDs, macOS and Windows.
Demos
Enable JavaScript to see demos as slides.
Powerful Pipelines
Text pipelines are intuitive and powerful. However, if your data have inherently complex structures, processing them with the pipeline often requires a lot of ad-hoc, hard-to-maintain text processing code.
Pipelines in Elvish can carry structured data, not just text. You can stream lists, maps and even functions through the pipeline.
Intuitive Control Structures
If you know programming, you probably already know how
if
looks in C. So why learn another syntax?
Elvish comes with a standard set of control structures: conditional
control with if
, loops with for
and
while
, and exception handling with try
. All
of them have a familiar C-like syntax.
Directory History
Do you type far too many cd
commands? Do you struggle to
remember which deeply/nested/directory
your source codes,
logs and configuration files are?
Backed by a real database, Elvish remembers all the directories you have been to, all the time. Just press Ctrl-L and search, as you do in a browser.
Command History
Want to find the magical ffmpeg
command that you used to
transcode a video file two months ago, but it is buried under a
million other commands?
No more cycling through history one command at a time. Press Ctrl-R and start searching your entire command history.
Built-in File Manager
Want the convenience of a file manager, but can't give up the power of a shell?
You no longer have to make a choice. Press Ctrl-N to start exploring directories and preview files, with the full power of a shell still under your fingertip.
Run Elvish
-
Download a binary
-
Source code on GitHub
-
Try Elvish directly from the browser (Beta)
Use this Site
Start your Elvish journey in this very website!
Join the Community
Join any of the following channels -- they are all all bridged together thanks to Matrix!
-
Telegram: @elvish
-
IRC: #elvish on Libera Chat
-
Gitter: elves/elvish
-
Matrix: #users:elv.sh
More Resources
-
Awesome Elvish: Official list of unofficial Elvish modules
-
@ElvishShell on Twitter