Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget 安装 elvish

查看 elvish 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install elvish

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install elvish

MacPorts ports tree · shells/elvish/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add elvish

Alpine Linux edge package indexes · elvish · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install elvish

Debian stable package indexes · elvish · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install elvish

Fedora Rawhide package metadata · elvish · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#elvish

nixpkgs package indexes · pkgs/by-name/el/elvish/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S elvish

Arch Linux sync databases · elvish · 来源: geo.mirror.pkgbuild.com

Windows

Scoop已验证 · 92%
scoop install main/elvish

Scoop official bucket manifest trees · bucket/elvish.json · 来源: api.github.com

Windows Package Manager已验证 · 92%
winget install --id elves.elvish -e

Windows Package Manager source index · elves.elvish · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Friendly and expressive shell

命令和别名

  • elvish

历史

项目历史与用法

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.

时间线

  • 2021: Elvish 0.17.0 release notes are published.
  • 2022: Elvish 0.18.0 release notes are published.
  • 2023: Elvish 0.19.1 release notes are published.
  • 2024: Elvish 0.20.x and 0.21.0 release notes are published.

Related projects

  • Elvish belongs to the family of alternative shells such as fish, nushell, and xonsh, but its official documentation emphasizes its own typed value model, lexical scoping, and interactive shell features rather than POSIX compatibility.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:shell

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 10 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/elvish/rc.elv~/.config/elvish/lib/*.elv

可执行文件

已安装的可执行文件

命令类型暴露范围备注
elvishcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本0.21.0
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.21.0

https://github.com/elves/elvish

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Nameelvish
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

elvish 0.21.0-2+b7

Powerful scripting language & versatile interactive shell

https://elv.sh

sudo apt install elvish
  • Section: shells
  • Architecture: amd64
  • Source Package: elvish
  • 2 依赖
  • normalized package name match
  • 匹配方式:Elvish
Debian stable package indexes · deb.debian.org · Debian stable package indexes: elvish from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

elvish

nix profile install nixpkgs#elvish
  • normalized package name match
  • 匹配方式:Elvish
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/el/elvish/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

elvish 0.20.1-1build1

Expressive programming language and versatile interactive shell

https://elv.sh

sudo apt install elvish
  • Section: universe/shells
  • Architecture: amd64
  • 2 依赖
  • normalized package name match
  • 匹配方式:Elvish
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: elvish from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

elvish 0.21.0-r16

Friendly and expressive Unix shell

https://elv.sh/

sudo apk add elvish
  • License: BSD-2-Clause
  • Architecture: x86_64
  • Source Package: elvish
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Elvish
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: elvish from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

elvish 0.21.0-12.fc44

Powerful scripting language & Versatile interactive shell

https://github.com/elves/elvish

sudo dnf install elvish
  • License: EPL-1.0 AND BSD-2-Clause AND BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: elvish
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Elvish
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: elvish from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

elvish 0.21.0-1

Versatile interactive shell & powerful scripting language in one

https://elv.sh

sudo pacman -S elvish
  • License: BSD
  • Architecture: x86_64
  • 1 依赖
  • normalized package name match
  • 匹配方式:Elvish
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: elvish from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

elvish

sudo port install elvish
  • normalized package name match
  • 匹配方式:Elvish
MacPorts ports tree · api.github.com · MacPorts ports tree: shells/elvish/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/elvish

scoop install main/elvish
  • normalized package name match
  • 匹配方式:Elvish
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/elvish.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
winget95%

elves.elvish

winget install --id elves.elvish -e
  • normalized package name match
  • 匹配方式:Elvish
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: elves.elvish from https://cdn.winget.microsoft.com/cache/source.msix

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment