Powerful scripting language & versatile interactive shell add sylixos support.
Go to file
2022-01-03 00:47:41 +00:00
.github/workflows Disable CGo in check-rellinks. 2021-11-29 21:28:34 +00:00
cmd Fix cmd/examples/win_tty 2021-10-02 22:44:54 +01:00
pkg Remove support for the legacy lambda syntax. 2022-01-03 00:47:41 +00:00
tools Remove a now superfluous variable in tools/imports-graph.elv. 2021-12-31 18:51:19 +00:00
website Update the "pipelines" ttyshot on homepage. 2022-01-02 23:13:18 +00:00
.cirrus.yml Bump gccgo to 11 2021-08-23 10:32:03 +01:00
.codecov.yml Update .codecov.yml with file rename. 2021-12-17 01:07:20 +00:00
.codespellrc Fix "indicies" -> indices. 2021-08-22 23:31:26 +01:00
.dockerignore Update .dockerignore. 2018-10-16 10:19:20 +01:00
.gitattributes Use .gitattributes to filter go sources through goimports 2014-02-10 12:41:16 +08:00
.gitignore Handle AltGr key combinations on Windows 2021-06-13 16:38:49 +01:00
.gitlab-ci.yml Test and build in parallel. 2021-05-10 01:02:58 +01:00
.prettierrc Put flags for prettier in .prettierrc. 2021-12-28 12:54:30 +00:00
0.18.0-release-notes.md Remove support for the legacy lambda syntax. 2022-01-03 00:47:41 +00:00
CONTRIBUTING.md Cleanups to rc.elv references 2021-12-24 01:40:01 +00:00
Dockerfile Lock image versions in Dockerfile 2021-03-19 23:14:10 +00:00
go.mod Upgrade dependencies. 2021-12-06 00:37:48 +00:00
go.sum Upgrade dependencies. 2021-12-06 00:37:48 +00:00
LICENSE Project rename: das -> elvish 2014-01-29 18:44:07 +08:00
Makefile Put flags for prettier in .prettierrc. 2021-12-28 12:54:30 +00:00
PACKAGING.md Fix typos and add codespell to CI 2021-08-22 23:07:34 +01:00
README.md README: Merge the two Cirrus CI badges. 2021-10-05 20:45:17 +01:00
SECURITY.md Add a security policy doc. 2021-09-22 00:24:03 +01:00

Elvish: Expressive Programming Language + Versatile Interactive Shell

CI status FreeBSD & gccgo test status Test Coverage Go Reference Packaging status Twitter

Elvish is an expressive programming language and a versatile interactive shell, combined into one seamless package. It runs on Linux, BSDs, macOS and Windows.

Despite its pre-1.0 status, it is already suitable for most daily interactive use.

Visit the official website https://elv.sh for prebuilt binaries, blog posts, documentation and other resources.

User groups (all connected thanks to Matrix): Gitter Telegram Group #elvish on libera.chat #users:elves.sh

Building Elvish

Most users do not need to build Elvish from source. Prebuilt binaries for the latest commit are provided for Linux amd64, macOS amd64, Windows amd64 and many other platforms.

To build Elvish from source, you need

  • A supported OS: Linux, {Free,Net,Open}BSD, macOS, or Windows 10.

    NOTE: Windows 10 support is experimental.

  • Go >= 1.16.

To build Elvish from source, follow these steps:

# 1. Start from any directory you want to store Elvish's source code
# 2. Clone the Git repository
git clone https://github.com/elves/elvish
# 3. Change into the repository
cd elvish
# 4. Build and install Elvish
make get

This will install Elvish to ~/go/bin (or $GOPATH/bin if you have set $GOPATH). You might want to add the directory to your PATH.

To install it elsewhere, override ELVISH_MAKE_BIN in the make command:

make get ELVISH_MAKE_BIN=./elvish # Install to the repo root
make get ELVISH_MAKE_BIN=/usr/local/bin/elvish # Install to /usr/local/bin

Experimental plugin support

Elvish has experimental support for building and importing plugins, modules written in Go.

However, since plugin support relies on dynamic linking, it is not enabled in the official prebuilt binaries. You need to build Elvish from source, with ELVISH_PLUGIN_SUPPORT=1:

make get ELVISH_PLUGIN_SUPPORT=1

To build a plugin, see this example.

Packaging Elvish

See PACKAGING.md for notes for packagers.

Contributing to Elvish

See CONTRIBUTING.md for notes for contributors.