Downloads of v


Last Update:

31 Aug 2015

Package Maintainer(s):

Software Author(s):

  • Phil Freeman
  • Gary Burgess
  • and other contributors


programming purescript javascript compile Haskell


This is not the latest version of PureScript available.

  • 1
  • 2
  • 3 | Updated: 31 Aug 2015



Downloads of v


Software Author(s):

  • Phil Freeman
  • Gary Burgess
  • and other contributors

  • 1
  • 2
  • 3

This is not the latest version of PureScript available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests

Validation Testing Passed

Verification Testing Passed


Scan Testing Successful:

No detections found in any package files


To install PureScript, run the following command from the command line or from PowerShell:


To upgrade PureScript, run the following command from the command line or from PowerShell:


To uninstall PureScript, run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade purescript -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade purescript -y --source="'STEP 3 URL'"

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure purescript installed
    name: purescript
    state: present
    source: STEP 3 URL

See docs at

chocolatey_package 'purescript' do
  action    :install
  version  ''
  source   'STEP 3 URL'

See docs at

    Name: purescript,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller purescript
   Name     = 'purescript'
   Ensure   = 'Present'
   Version  = ''
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'purescript':
  provider => 'chocolatey',
  ensure   => '',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install purescript version="" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator ferventcoder on 28 Dec 2015.


A small strongly, statically typed language that compiles to Javascript. This package is 64-bit only, and uses the files from the official release.

md5: 8212085D8BDBFC8445DCCCD81DC0C11D | sha1: 043546F2EB6A2067816E936D60DB4D002D5C7380
md5: 16919A52B8A91D7F8EAC04BD5A2B741D | sha1: CC3CA09FB81D89D3F98C3B9A3BE156E7F32CFC63
md5: 71C1908B7310547E7753AF2611F134A2 | sha1: F0541AFBE6B913C1713F6749985519771486A4CF
md5: 6ED4648EF2ED8BDCEC7C16C814B2F756 | sha1: A544306D2106E003FCBC911D642328241924DF79
md5: F84F76F6206E1447F5420BD97F2F9429 | sha1: 7E33E2848BF62B4A5102D9AD2C5A0CADBF939784
# Installation information

If you are having difficulty installing the PureScript compiler, feel free to
ask for help! A good place is the #purescript IRC channel on Freenode, or
alternatively Stack Overflow.

## Using prebuilt binaries

The prebuilt binaries are compiled with GHC 7.8.4, and therefore they should
run on any operating system supported by GHC 7.8.4, such as:

* Windows 2000 or later,
* OS X 10.7 or later,
* Linux ??? (we're not sure what the minimum version is).

This list is not exhaustive. If your OS is too old or not listed, or if the
binaries fail to run, you may be able to install the compiler by building it
from source; see below.

It's probably safe to assume that other prebuilt distributions (eg, Homebrew,
Chocolatey, AUR, npm) use the same binaries, and therefore have the same

## Compiling from source

GHC 7.6.1 or newer is required to compile from source. The easiest way is to
use `cabal-install`:

$ cabal update && cabal install purescript

The PureScript compiler has been known to run on OS X 10.6 when built with GHC

## The "curses" library

`psci` depends on the `curses` library (via the Haskell package `terminfo`). If
you are having difficulty running the compiler, it may be because the `curses`
library is missing.

On Linux, you will probably need to install `ncurses` manually. On Ubuntu, for
example, this can be done by running:

$ sudo apt-get install libncurses5-dev

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
purescript 0.14.2 34 Monday, June 14, 2021 Approved
purescript 0.14.1 44 Tuesday, April 20, 2021 Approved
purescript 0.14.0 46 Monday, March 1, 2021 Approved
purescript 0.13.8 197 Wednesday, May 27, 2020 Approved
purescript 0.13.6 314 Monday, January 20, 2020 Approved
purescript 0.13.5 109 Thursday, November 14, 2019 Approved
purescript 0.13.4 106 Monday, October 21, 2019 Approved
purescript 0.13.3 98 Monday, August 19, 2019 Approved
purescript 0.12.5 275 Monday, April 15, 2019 Approved

This package has no dependencies.

Discussion for the PureScript Package

Ground Rules:

  • This discussion is only about PureScript and the PureScript package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or PureScript, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus