# 使用 Homebrew, Nix, scoop, apk, apt, dnf, MacPorts, pacman, zypper, winget 安装 sapling

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

## 安装

```sh
sudo av install brew:sapling
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install sapling
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install sl
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#sapling
```

  证据: nixpkgs package indexes: pkgs/by-name/sa/sapling/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- apk (92%):

```sh
sudo apk add sl
```

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

- Debian apt (92%):

```sh
sudo apt install sl
```

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

- dnf (92%):

```sh
sudo dnf install sl
```

  证据: Fedora Rawhide package metadata: sl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- pacman (92%):

```sh
sudo pacman -S sl
```

  证据: Arch Linux sync databases: sl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install sl
```

  证据: openSUSE Tumbleweed package metadata: sl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/sapling
```

  证据: Scoop official bucket manifest trees: bucket/sapling.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id ScaryRawr.SL -e
```

  证据: Windows Package Manager source index: ScaryRawr.SL from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:sapling
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/sapling>
- **版本:** 0.2.20260522-084851
- **来源摘要:** Source control client
- **主页:** <https://sapling-scm.com>
- **仓库:** <https://github.com/facebook/sapling>
- **上游文档:** <https://sapling-scm.com/docs/commands/config>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/facebook/sapling/archive/refs/tags/0.2.20260522-084851+1e764c94.tar.gz>
- **最后更新:** 2026-06-22T14:06:14-07:00
- **已生成:** 2026-07-10T07:20:53+00:00

## 可执行文件

- sl (cli)
- sl (别名)

## 依赖

- gh
- libssh2
- node
- openssl@3
- python@3.13

## 构建依赖

- cmake
- pkgconf
- python-setuptools
- rust
- yarn

## macOS 提供的库

- bzip2
- curl

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-10
- 管理器版本: 0.2.20260522-084851
- 管理器更新时间: 2026-06-22
- 本地数据: OK
- 上游仓库: https://github.com/facebook/sapling
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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



## 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

- Linux: ~/.config/sapling/sapling.conf, $XDG_CONFIG_HOME/sapling/sapling.conf
- macOS: ~/Library/Preferences/sapling/sapling.conf
- Windows: %APPDATA%\sapling\sapling.conf
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** sapling
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** sl
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Nix - sapling: normalized package name match | nixpkgs package indexes: pkgs/by-name/sa/sapling/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/sapling: normalized package name match | Scoop official bucket manifest trees: bucket/sapling.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- MacPorts - sl: installed executable or alias match | MacPorts ports tree: games/sl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - sl - 5.02-1+b1: installed executable or alias match | Debian stable package indexes: sl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Correct you if you type `sl' by mistake | https://github.com/mtoyoda/sl
- Nix - sl: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/sl/sl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - sl - 5.02-1: installed executable or alias match | Ubuntu 24.04 LTS package indexes: sl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Correct you if you type `sl' by mistake | https://github.com/mtoyoda/sl
- apk - sl - 5.02-r1: installed executable or alias match | Alpine Linux edge package indexes: sl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Cure your bad habit of mistyping | https://github.com/mtoyoda/sl
- apk - sl-doc - 5.02-r1: installed executable or alias match | Alpine Linux edge package indexes: sl-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Cure your bad habit of mistyping (documentation) | https://github.com/mtoyoda/sl
- dnf - sl - 5.02-25.fc44: installed executable or alias match | Fedora Rawhide package metadata: sl from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | Joke command for when you type 'sl' instead of 'ls' | https://github.com/mtoyoda/sl
- pacman - sl - 5.05-5: installed executable or alias match | Arch Linux sync databases: sl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Steam Locomotive runs across your terminal when you type "sl" as you meant to type "ls" | https://github.com/eyJhb/sl
- zypper - sl - 5.05-1.8: installed executable or alias match | openSUSE Tumbleweed package metadata: sl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Steam Locomotive in ASCII art | https://github.com/eyJhb/sl
- winget - ScaryRawr.SL: installed executable or alias match | Windows Package Manager source index: ScaryRawr.SL from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [gh](https://www.automicvault.com/zh-hans/pkg/brew/gh/) - Runtime dependency declared by Homebrew.
- [node](https://www.automicvault.com/zh-hans/pkg/brew/node/) - Runtime dependency declared by Homebrew.
- [openssl@3](https://www.automicvault.com/zh-hans/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [python@3.13](https://www.automicvault.com/zh-hans/pkg/brew/python-3-13/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/zh-hans/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [grpc](https://www.automicvault.com/zh-hans/pkg/brew/grpc/) - Both packages touch the same language runtime or ecosystem. Shared terms: node, openssl, openssl-3, python, source.
- [curl](https://www.automicvault.com/zh-hans/pkg/brew/curl/) - Local metadata places this package in an adjacent workflow. Shared terms: client, libssh2, openssl, openssl-3.
- [fb-client](https://www.automicvault.com/zh-hans/pkg/brew/fb-client/) - Both packages touch the same language runtime or ecosystem. Shared terms: client, openssl, openssl-3, python.

## Combined YAML source

View the package source record on GitHub. [combined/sapling.yml](https://github.com/automic-vault/db/blob/main/combined/sapling.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
