A command-line tool that installs the PureScript compiler to the current working directory. It first checks a disk cache, then downloads a prebuilt binary from the PureScript release page, and as a last resort compiles from source using Stack. Version 0.3.5 is the current stable release, with sparse updates since 2019. It is designed to be used behind the scenes by the `purescript` npm package, not directly by most users. Key differentiator: handles multiple installation strategies (cache, binary download, source compilation) automatically.
npm install purescript-installerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install the purescript-installer package and run it to download a specific version of the PureScript compiler.
Update to v0.3.5: npm install purescript-installer@0.3.5
Use version 0.2.0 or upgrade to 0.3.x.
Upgrade Node.js to version 12 or later.
Use the `purescript` npm package which wraps this installer.
Check your package.json `bin` field or use the --name flag to override the binary name.
Install Stack from https://docs.haskellstack.org/ or rely on prebuilt binaries (default).
Use npm install --save-dev purescript-installer locally instead of global install, or fix permissions.
Use npx install-purescript or define it in npm scripts; do not require it in code.