macOS
brew install elvishlocal Homebrew formula metadata
sudo port install elvishMacPorts ports tree · shells/elvish/Portfile · 来源: api.github.com
安装
brew install elvishlocal Homebrew formula metadata
sudo port install elvishMacPorts ports tree · shells/elvish/Portfile · 来源: api.github.com
sudo apk add elvishAlpine Linux edge package indexes · elvish · 来源: dl-cdn.alpinelinux.org
sudo apt install elvishDebian stable package indexes · elvish · 来源: deb.debian.org
sudo dnf install elvishFedora Rawhide package metadata · elvish · 来源: dl.fedoraproject.org
nix profile install nixpkgs#elvishnixpkgs package indexes · pkgs/by-name/el/elvish/package.nix · 来源: api.github.com
sudo pacman -S elvishArch Linux sync databases · elvish · 来源: geo.mirror.pkgbuild.com
scoop install main/elvishScoop official bucket manifest trees · bucket/elvish.json · 来源: api.github.com
winget install --id elves.elvish -eWindows Package Manager source index · elves.elvish · 来源: cdn.winget.microsoft.com
概览
Friendly and expressive shell
历史
Elvish is a Unix-style interactive shell and scripting language with structured values, lexical scoping, and built-in interactive features. The project describes itself as both a powerful scripting language and a shell, distributed as a statically linked binary for Linux, BSDs, macOS, and Windows.
Elvish has developed as a pre-1.0 shell that accepts breaking changes while remaining usable for scripting and interactive work. Its release notes show a long-running sequence from older 0.x releases to 0.21.0 in 2024, with the project explicitly warning users that compatibility can still change before 1.0.
Adoption has been strongest among shell users interested in a more structured alternative to traditional POSIX-family shells. The official README points to packaging status, package/tool lists, and multiple community chat channels, while the input package facts show it packaged across Homebrew, Debian, Fedora, Arch, Nix, MacPorts, Scoop, winget, and other systems.
Elvish is used either as a login-style interactive shell or as a scripting language. Users customize interactive startup with rc.elv under the XDG config directory, keep libraries under elvish/lib search paths, and write scripts that can use Elvish's value channels, maps, functions, exceptions, and pipelines.
Elvish is interesting in package-manager terms because it is a single shell binary with cross-platform packaging but a non-POSIX language model. Installing it from a package manager is often the first experiment: users can try a modern shell without replacing system sh, then choose whether to adopt its rc.elv and library conventions.
安全态势
generalized runtime or code generation signal.
yellow 风险 · 中 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.config/elvish/rc.elv~/.config/elvish/lib/*.elv可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
elvish | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/elves/elvish
安装元数据
| 软件包键 | brew:elvish |
|---|---|
| 版本 | 0.21.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/elvish |
| 主页 | https://elv.sh/ |
| 仓库 | https://github.com/elves/elvish |
| 上游文档 | https://elv.sh/learn |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/elves/elvish/archive/refs/tags/v0.21.0.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | elvish |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
elvish 0.21.0-2+b7
Powerful scripting language & versatile interactive shell
sudo apt install elvishelvish
nix profile install nixpkgs#elvishelvish 0.20.1-1build1
Expressive programming language and versatile interactive shell
sudo apt install elvishelvish 0.21.0-r16
Friendly and expressive Unix shell
sudo apk add elvishelvish 0.21.0-12.fc44
Powerful scripting language & Versatile interactive shell
https://github.com/elves/elvish
sudo dnf install elvishelvish 0.21.0-1
Versatile interactive shell & powerful scripting language in one
sudo pacman -S elvishelvish
sudo port install elvishmain/elvish
scoop install main/elvishelves.elvish
winget install --id elves.elvish -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.