# 使用 Homebrew, apk, apt, MacPorts 安装 execline

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

## 安装

```sh
sudo av install brew:execline
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install execline
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install execline
```

  证据: MacPorts ports tree: lang/execline/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add execline
```

  证据: Alpine Linux edge package indexes: execline from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install execline
```

  证据: Debian stable package indexes: execline from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## 软件包事实

- **软件包键:** brew:execline
- **软件包管理器:** Homebrew
- **版本:** 2.9.9.2
- **来源摘要:** Interpreter-less scripting language
- **主页:** <https://skarnet.org/software/execline/>
- **最后更新:** 2026-07-14T12:58:16Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- background (别名)
- backtick (别名)
- case (别名)
- cd (别名)
- define (别名)
- dollarat (别名)
- elgetopt (别名)
- elgetpositionals (别名)
- elglob (别名)
- eltest (别名)
- emptyenv (别名)
- envfile (别名)
- exec (别名)
- execline-cd (别名)
- execline-umask (别名)
- execlineb (别名)
- exit (别名)
- export (别名)
- export-array (别名)
- fdblock (别名)
- fdclose (别名)
- fdmove (别名)
- fdreserve (别名)
- fdswap (别名)
- forbacktickx (别名)
- foreground (别名)
- forstdin (别名)
- forx (别名)
- getcwd (别名)
- getpid (别名)
- heredoc (别名)
- homeof (别名)
- if (别名)
- ifelse (别名)
- ifte (别名)
- ifthenelse (别名)
- importas (别名)
- loopwhilex (别名)
- multidefine (别名)
- multisubstitute (别名)
- pipeline (别名)
- piperw (别名)
- posix-cd (别名)
- posix-umask (别名)
- redirfd (别名)
- runblock (别名)
- shift (别名)
- trap (别名)
- tryexec (别名)
- umask (别名)
- unexport (别名)
- wait (别名)
- withstdinas (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.9.9.2
## 项目历史与用法

execline is a small non-interactive scripting language from skarnet.org, designed as a predictable shell alternative for process supervision, startup scripts, and command chaining.

### 项目历史

The official page describes execline as a scripting language like sh, but with substantially different syntax. Its design goal is predictable grammar and avoidance of shell-style security issues while retaining shell-level power through conditionals, loops, option handling, globbing, environment management, and process-control commands.

The public git tag list shows the 2.x series beginning with v2.0.0.0 about twelve years before June 2026. The upgrade notes record a major build-system change in 2.0.0.0 and continuing incremental additions through 2.9.x, including envfile, posix-cd, posix-umask, eltest, multicall support, and macOS shared-library support.

### 采用历史

execline is part of the wider skarnet.org software ecosystem and depends on skalibs. It is packaged across Unix-like distributions and package managers, including Homebrew, Debian, Ubuntu, Alpine, MacPorts, and others in the supplied package facts.

Its adoption is strongest among users of s6, runit-like supervision ideas, and minimal Unix service-management stacks, where explicit process state, file descriptor handling, and environment manipulation matter more than interactive shell convenience.

### 使用方式

Users write execlineb scripts or compose the provided commands directly. The command set covers parser/launcher behavior, process state control, environment files, fd operations, redirection, pipelines, foreground/background blocks, conditionals, loops, positional parameters, and option parsing.

The homepage includes example .profile replacement scripts and documents each command with consistent exit behavior: temporary errors exit 111, permanent misuse-style errors exit 100, failed exec lookup exits 127, and other exec failures exit 126.

### 为什么软件包爱好者会关心

execline is package-nerd significant because it decomposes shell behavior into many small binaries with explicit process semantics. It fits the skarnet tradition of small composable tools for supervision and init-adjacent systems.

It is also a good example of a package where the binary list is the product: installing execline adds a vocabulary of tiny command primitives rather than one large interactive shell.

### 时间线

- 2.0.0.0: Build system changed to the standard configure, make, install flow.
- 2.5.1.0: envfile command added.
- 2.5.3.0: posix-cd added and wait made POSIX-compliant.
- 2.9.1.0: eltest added.
- 2.9.2.0: Experimental multicall feature added.
- 2.9.8.0: Shared libraries supported on macOS.
- 2026: v2.9.9.1 tagged in the official git repository.

### Related projects

- skalibs is execline's required support library.
- The homepage lists official mirrors on Codeberg, GitHub, and SourceHut, and points users to skaware mailing-list discussion.

### 来源

- <https://skarnet.org/software/execline/>
- <https://skarnet.org/software/execline/upgrade.html>
- <https://git.skarnet.org/cgi-bin/cgit.cgi/execline/>
- <https://git.skarnet.org/cgi-bin/cgit.cgi/execline/refs/tags>
- <https://git.skarnet.org/cgi-bin/cgit.cgi/execline/log/>


## 安全说明

没有找到 execline 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 其他软件包管理器记录

- Debian apt - execline - 2.9.6.1-1: normalized package name match | Debian stable package indexes: execline from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | small and non-interactive scripting language | https://skarnet.org/software/execline/
- Debian apt - execline-doc - 2.9.6.1-1: normalized package name match | Debian stable package indexes: execline-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | small and non-interactive scripting language (documentation) | https://skarnet.org/software/execline/
- Debian apt - libexecline-dev - 2.9.6.1-1: normalized package name match | Debian stable package indexes: libexecline-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | small and non-interactive scripting language (development files) | https://skarnet.org/software/execline/
- Debian apt - libexecline2.9 - 2.9.6.1-1: normalized package name match | Debian stable package indexes: libexecline2.9 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | small and non-interactive scripting language (shared library) | https://skarnet.org/software/execline/
- Ubuntu apt - execline - 2.9.4.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: execline from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | small and non-interactive scripting language | https://skarnet.org/software/execline/
- Ubuntu apt - execline-doc - 2.9.4.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: execline-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | small and non-interactive scripting language (documentation) | https://skarnet.org/software/execline/
- Ubuntu apt - libexecline-dev - 2.9.4.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libexecline-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | small and non-interactive scripting language (development files) | https://skarnet.org/software/execline/
- Ubuntu apt - libexecline2.9 - 2.9.4.0-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libexecline2.9 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | small and non-interactive scripting language (shared library) | https://skarnet.org/software/execline/
- apk - execline - 2.9.9.2-r0: normalized package name match | Alpine Linux edge package indexes: execline from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A small scripting language, to be used in place of a shell in non-interactive scripts. | https://skarnet.org/software/execline/
- apk - execline-dev - 2.9.9.2-r0: normalized package name match | Alpine Linux edge package indexes: execline-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A small scripting language, to be used in place of a shell in non-interactive scripts. (development files) | https://skarnet.org/software/execline/
- apk - execline-doc - 2.9.9.2-r0: normalized package name match | Alpine Linux edge package indexes: execline-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A small scripting language, to be used in place of a shell in non-interactive scripts. (documentation) | https://skarnet.org/software/execline/
- apk - execline-libs - 2.9.9.2-r0: normalized package name match | Alpine Linux edge package indexes: execline-libs from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A small scripting language, to be used in place of a shell in non-interactive scripts. (libraries) | https://skarnet.org/software/execline/
- apk - execline-static - 2.9.9.2-r0: normalized package name match | Alpine Linux edge package indexes: execline-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | A small scripting language, to be used in place of a shell in non-interactive scripts. (static library) | https://skarnet.org/software/execline/
- MacPorts - execline: normalized package name match | MacPorts ports tree: lang/execline/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Ubuntu apt - python-case-doc - 1.5.3+dfsg-5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: python-case-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python unittest Utilities (documentation) | https://github.com/celery/case
- Ubuntu apt - python3-case - 1.5.3+dfsg-5: installed executable or alias match | Ubuntu 24.04 LTS package indexes: python3-case from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Python unittest Utilities (Python3 version) | https://github.com/celery/case


## Combined YAML source

View the package source record on GitHub. [combined/execline.yml](https://github.com/mxcl/pkgdb/blob/main/combined/execline.yml)


## 来源

- pkg.so package database
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
