# Install rescript with npm

ReScript toolchain. Version 12.3.0 via npm; verified 2026-05-19. Also installable with macports: sudo port install bsc.

## Install

```sh
sudo av install npm:rescript
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g rescript
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:rescript
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/rescript>
- **Version:** 12.3.0
- **Source summary:** ReScript toolchain
- **Homepage:** <https://rescript-lang.org>
- **Repository:** <https://github.com/rescript-lang/rescript>
- **Upstream docs:** <https://rescript-lang.org>
- **License:** (LGPL-3.0-or-later AND MIT)
- **Source archive:** <https://registry.npmjs.org/rescript/-/rescript-12.3.0.tgz>
- **Issue tracker:** <https://github.com/rescript-lang/rescript/issues>
- **Published:** 2026-05-19T18:58:53.561Z
- **Last updated:** 2026-05-19T18:58:53.561Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- bsc (cli)
- bstracing (cli)
- rescript (cli)
- rescript-legacy (cli)
- rescript-tools (cli)
- rescript (alias)

## Dependencies

- @rescript/runtime

## Build dependencies

- @biomejs/biome
- @types/node
- @types/semver
- @yarnpkg/types
- mocha
- nyc
- semver
- typescript

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 12.3.0
- Package-manager updated: 2026-05-19
- Local data: ok
- Upstream repository: https://github.com/rescript-lang/rescript
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for rescript. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Ci: 13.0.0-alpha.5, Latest: 12.3.0, Next: 13.0.0-alpha.5, Next 12: 12.3.0-beta.1
- **Version Count:** 116
- **Maintainers:** hongbo_zhang, chenglou, ryyppy, cristianoc, cknittel, fham_
- **Author:** Hongbo Zhang
- **Publisher:** GitHub Actions
- **Engines:** Node: >=20.11.0
- **Optional Dependencies:** @rescript/darwin-arm64, @rescript/darwin-x64, @rescript/linux-arm64, @rescript/linux-x64, @rescript/win32-x64
- **Integrity:** sha512-xdnpEoDNoeYjZ8HHATwKJEfWti1Nqwx266edfUC8378a5AO1VvZElj2ZZ/SIJNFgUnohH9yDThB+CHEQfijxKw==
- **Shasum:** 91aebdd4f5b786d0ba38d3b5754f9dadb3f05329
- **Unpacked Size:** 268,398
- **File Count:** 0
- **Created At:** 2016-11-06T02:10:43.016Z
- **Latest Published At:** 2026-05-19T18:58:53.561Z
- **Modified At:** 2026-07-10T07:24:17.848Z

## Other Package-Manager Records

- MacPorts - bsc: installed executable or alias match | MacPorts ports tree: archivers/bsc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - bsc: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/bs/bsc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Related links

- [Language runtime packages](https://pkg.so/language-runtime-packages/) - Matched curated package taxonomy and local package facts.
- [goldstein](https://pkg.so/npm/goldstein/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, compiler, javascript, language, language-runtime.
- [clojurescript](https://pkg.so/brew/clojurescript/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, compiler, javascript, language, language-runtime.
- [coffeescript](https://pkg.so/brew/coffeescript/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, compiler, javascript, language, language-runtime.

## Sources

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