# 使用 Homebrew, Nix, scoop 安装 purescript

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

## 安装

```sh
sudo av install brew:purescript
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install purescript
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#purescript
```

  证据: nixpkgs package indexes: purescript from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

### Windows

- Scoop (92%):

```sh
scoop install main/purescript
```

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

## 软件包事实

- **软件包键:** brew:purescript
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/purescript>
- **版本:** 0.15.16
- **来源摘要:** Strongly typed programming language that compiles to JavaScript
- **主页:** <https://www.purescript.org/>
- **仓库:** <https://github.com/purescript/purescript>
- **上游文档:** <https://www.purescript.org/>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/purescript/purescript/archive/refs/tags/v0.15.16.tar.gz>
- **最后更新:** 2026-07-22T13:43:37Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- purs (cli)
- purs (别名)

## 依赖

- gmp

## 构建依赖

- cabal-install
- ghc

## macOS 提供的库

- libffi
- ncurses

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.15.16
- 管理器更新时间: 2026-07-22
- 本地数据: OK
- 上游仓库: https://github.com/purescript/purescript
- 检测到的最新版本: v0.15.16 (当前)

## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** purescript
- **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:** head, stable

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

- Nix - purescript: normalized package name match | nixpkgs package indexes: purescript from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- Scoop - main/purescript: normalized package name match | Scoop official bucket manifest trees: bucket/purescript.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [cabal-install](https://pkg.so/zh-hans/brew/cabal-install/) - Build dependency declared by Homebrew.
- [ghc](https://pkg.so/zh-hans/brew/ghc/) - Build dependency declared by Homebrew.
- [purescript-language-server](https://pkg.so/zh-hans/brew/purescript-language-server/) - Popular package that depends on this formula.
- [spago](https://pkg.so/zh-hans/brew/spago/) - Popular package that depends on this formula.
- [psc-package](https://pkg.so/zh-hans/brew/psc-package/) - Popular package that depends on this formula.
- [koka](https://pkg.so/zh-hans/brew/koka/) - Shares pkgdb curated category or tags: cli, compiler, functional-programming, language-runtime, programming-language.
- [coffeescript](https://pkg.so/zh-hans/brew/coffeescript/) - Shares pkgdb curated category or tags: cli, compiler, javascript, language-runtime, programming-language.
- [coconut](https://pkg.so/zh-hans/brew/coconut/) - Shares pkgdb curated category or tags: cli, compiler, functional-programming, language-runtime, programming-language.
- [mercury](https://pkg.so/zh-hans/brew/mercury/) - Shares pkgdb curated category or tags: cli, compiler, functional-programming, language-runtime, programming-language.
- [never](https://pkg.so/zh-hans/brew/never/) - Shares pkgdb curated category or tags: cli, compiler, functional-programming, language-runtime, programming-language.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language.
- [lua](https://pkg.so/zh-hans/brew/lua/) - Shares pkgdb curated category or tags: cli, compiler, language-runtime, programming-language.
- [elixir](https://pkg.so/zh-hans/brew/elixir/) - Shares pkgdb curated category or tags: cli, functional-programming, language-runtime, programming-language.
- [crystal](https://pkg.so/zh-hans/brew/crystal/) - Local package facts share a topical domain. Shared terms: cli, compiler, gmp, language, language-runtime.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
