pkg.soopen package index

brew / 排名 4652

使用 Homebrew, Nix, scoop 安装 purescript

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install purescript

local Homebrew formula metadata

Windows

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

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

概览

软件包摘要

Strongly typed programming language that compiles to JavaScript

命令和别名

  • purs

历史

项目历史与用法

PureScript is a small, strongly and statically typed functional programming language, written in and inspired by Haskell, that compiles to readable JavaScript and supports direct JavaScript interoperability.

项目历史

Phil Freeman created PureScript in 2013 as a small, strongly typed functional language compiling to JavaScript. The language drew on Haskell while developing JavaScript-oriented features and conventions of its own, including row polymorphism, extensible records, typed effects, and a direct foreign-function interface.

The compiler and documentation subsequently became collaborative projects under the PureScript organization. The official documentation repository covers the language, compiler, ecosystem, migration guides, editor tooling, and related projects, while the community-maintained PureScript by Example book provides a practical learning path.

采用历史

PureScript developed from a compiler into a compact language ecosystem with community-maintained core libraries, searchable package documentation through Pursuit, build and package tooling, editor integrations, and learning resources.

The official website recommends Spago as the build tool and npm for JavaScript dependencies. This pairing lets PureScript projects retain JavaScript interoperability while using package sets, reproducible builds, and language-specific tooling.

使用方式

Developers use the purs compiler, normally through Spago, to build browser applications, Node.js services, command-line programs, and libraries. JavaScript APIs and npm packages are reached through the FFI, while generated package documentation is commonly published to Pursuit.

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

PureScript is important to language-package enthusiasts as a durable example of a Haskell-inspired language built specifically around JavaScript output and interoperability. Its ecosystem combines a native compiler, JavaScript FFI, package sets, a registry, Pursuit documentation, and Spago's Cargo-like project workflow.

Its appeal is less about replacing the JavaScript ecosystem than imposing a precise functional type system on projects that still need browser APIs, Node.js, and npm libraries.

时间线

  • 2013: Phil Freeman released the first version of PureScript.
  • 2014: The copyright period for PureScript by Example began.
  • Undated: Spago became the officially recommended PureScript build tool.

Related projects

  • Spago is the recommended PureScript package manager and build tool. Pursuit indexes generated package documentation, and purescript-language-server exposes compiler IDE services to LSP-compatible editors.

安全态势

风险级别:yellow

generalized runtime or code generation signal.

风险分类器

yellow 风险 · 中 置信度 · runtime

原因

  • generalized runtime or code generation signal

信号

  • text:programming language

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 7 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 2 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

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

新鲜度

版本和新鲜度

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

页面生成时间2026-11-04
管理器版本0.15.16
管理器更新时间2026-09-10
本地数据OK
上游当前
检测到的最新版本v0.15.16

https://github.com/purescript/purescript

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:purescript
版本0.15.16
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/purescript
主页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-09-10T18:59:24Z
Pulseupdated
依赖gmp
构建依赖cabal-install, ghc
macOS 提供的库libffi, ncurses
Bottle可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepurescript
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

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

Nix95%

purescript

nix profile install nixpkgs#purescript
  • normalized package name match
  • 匹配方式:Purescript
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: purescript from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Scoop95%

main/purescript

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

来源线索

由仓库数据生成

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

使用的来源

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