Powerful scripting language & versatile interactive shell add sylixos support.
Go to file
Qi Xiao 30489ffd28 tools/buildall.sh: Output usage information from its own comment.
When the number of arguments is not 3, the script now uses a complex sed command
to output the doc comment in its own code.
2021-01-29 01:26:06 +00:00
cmd Move the main package to cmd/elvish. 2021-01-27 01:35:01 +00:00
pkg Change how version information is overriden. 2021-01-28 14:41:34 +00:00
tools tools/buildall.sh: Output usage information from its own comment. 2021-01-29 01:26:06 +00:00
website Make website/ its own Go module. 2021-01-28 11:02:30 +00:00
.appveyor.yml Include cross-package invocations in test coverage 2021-01-03 02:05:44 +00:00
.cirrus.yml Use encrypted codecov token. 2021-01-16 06:57:39 +00:00
.codecov.yml Actually, continue to exclude test helpers. 2021-01-16 06:42:27 +00: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 Rename coverage file to "cover". 2020-08-16 17:04:02 +01:00
CONTRIBUTING.md Document style guide for the doc comment of unexported types and functions. 2020-08-16 14:00:04 +01:00
Dockerfile Change module import path to src.elv.sh 2021-01-27 01:30:25 +00:00
go.mod Make website/ its own Go module. 2021-01-28 11:02:30 +00:00
go.sum Make website/ its own Go module. 2021-01-28 11:02:30 +00:00
LICENSE Project rename: das -> elvish 2014-01-29 18:44:07 +08:00
Makefile Add -buildinfo=pie to flags for reproducible builds. 2021-01-28 19:59:29 +00:00
NEXT-RELEASE.md Add a new "deprecate" command. 2021-01-24 15:32:24 +00:00
PACKAGING.md PACKAGING.md: Fix the value of VersionSuffix for dev build 2021-01-28 22:17:20 +00:00
README.md README: Update Twitter handle 2021-01-27 23:54:14 +00:00

Elvish: Friendly Interactive Shell and Expressive Programming Language

Test Status on Linux Test Status on macOS Test Status on FreeBSD Test status on Windows Test Coverage Go Report Card GoDoc Twitter

Elvish is a friendly interactive shell and an expressive programming language. 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 with matterbridge): Gitter Telegram Group #elvish on freenode #elvish:matrix.org

Building Elvish

Most users can just use prebuilt binaries and do not need to build from source.

To build Elvish from source, you need

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

    NOTE: Windows support is experimental, and only Windows 10 is supported.

  • Go >= 1.14.

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.

Alternatively, you can also just use go get to install Elvish:

go get -u src.elv.sh/cmd/elvish

This will clone the Git repository to ~/go/src/src.elv.sh, updating it if already exists, and install Elvish to ~/go/bin. However, Elvish built this way will lack version information, although it is otherwise fully functional.

Some tips on installation:

  • Remember to add $HOME/go/bin to your PATH so that you can run elvish directly.

  • If you want to install Elvish to a different place, follow these steps to set GOPATH, and Elvish will be installed to $GOPATH/bin instead.

Contributing to Elvish

See CONTRIBUTING.md for more notes for contributors.