pkg.soopen package index

brew / rank 4652

Install purescript with Homebrew, Nix, scoop

Strongly typed programming language that compiles to JavaScript. Version 0.15.16 via Homebrew; verified 2026-09-10. Also installable with nix: nix profile install nixpkgs#purescript.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install purescript

local Homebrew formula metadata

Windows

Scoopverified · 92%
scoop install main/purescript

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

overview

Package summary

Strongly typed programming language that compiles to JavaScript

Commands and aliases

  • purs

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:programming language

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 7 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
purscliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-11-04
manager version0.15.16
manager updated2026-09-10
local dataok
upstreamcurrent
latest detectedv0.15.16

https://github.com/purescript/purescript

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:purescript
Version0.15.16
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/purescript
Homepagehttps://www.purescript.org/
Repositoryhttps://github.com/purescript/purescript
Upstream docshttps://www.purescript.org/
LicenseBSD-3-Clause
Source archivehttps://github.com/purescript/purescript/archive/refs/tags/v0.15.16.tar.gz
Last updated2026-09-10T18:59:24Z
Pulseupdated
Dependenciesgmp
Build dependenciescabal-install, ghc
Uses from macOSlibffi, ncurses
Bottleavailable (on arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

purescript

nix profile install nixpkgs#purescript
  • normalized package name match
  • Matched by: 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
  • Matched by: 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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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