# 使用 Homebrew, Nix, pacman, scoop 安装 dotslash

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

## 安装

```sh
sudo av install brew:dotslash
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dotslash
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#dotslash
```

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

- pacman (92%):

```sh
sudo pacman -S dotslash
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/dotslash
```

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

## 软件包事实

- **软件包键:** brew:dotslash
- **软件包管理器:** Homebrew
- **版本:** 0.5.9
- **来源摘要:** Simplified executable deployment
- **主页:** <https://dotslash-cli.com>
- **仓库:** <https://github.com/facebook/dotslash>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dotslash (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

DotSlash is Meta's command-line tool for representing platform-specific heavyweight executables as small text files that fetch, verify, and run the correct binary on demand. It is aimed at executable deployment inside source repositories and reproducible build environments.

### 项目历史

Meta announced DotSlash publicly on February 6, 2024 as an open-source developer-infrastructure tool. The first GitHub release, v0.1.0, was published the same day, and subsequent 2024 and 2025 releases iterated on the executable-deployment model.

### 采用历史

DotSlash grew from the internal need to vendor large toolchain binaries without bloating repositories or relying on each developer's host environment. Its package-manager adoption includes Homebrew, Nix, pacman, and Scoop entries, which made the `dotslash` interpreter easier to install across common workstation setups.

### 使用方式

Developers create small executable DotSlash files that describe per-platform providers, sizes, hashes, archive formats, and paths. On first execution, DotSlash downloads and verifies the matching artifact; later executions reuse the cached binary.

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

DotSlash is package-nerd bait because it sits between vendoring, lockfiles, binary caches, and hermetic build tooling. It treats executable resolution as data checked into source control, while leaving the large artifacts outside the repository and verifying them with content hashes.

### 时间线

- 2024: Meta announced DotSlash and published v0.1.0 on February 6.
- 2024: The project shipped several early releases through v0.4.x.
- 2025: v0.5.x releases continued the public release train.

### Related projects

- Buck2
- Bazel
- Nix
- Scoop
- Homebrew

### 来源

- <https://engineering.fb.com/2024/02/06/developer-tools/dotslash-simplified-executable-deployment/>
- <https://github.com/facebook/dotslash>
- <https://dotslash-cli.com/docs>
- <https://api.github.com/repos/facebook/dotslash/releases?per_page=100>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Nix - dotslash: normalized package name match | nixpkgs package indexes: pkgs/by-name/do/dotslash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - dotslash - 0.5.8-1: normalized package name match | Arch Linux sync databases: dotslash from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Command-line tool to facilitate fetching an executable, caching it, and then running it | https://github.com/facebook/dotslash
- Scoop - main/dotslash: normalized package name match | Scoop official bucket manifest trees: bucket/dotslash.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [dotslash](https://pkg.so/zh-hans/pkg/cargo/dotslash/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

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


## 来源

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