Skip to main content

Installation

Differens ships as an npm CLI plus five published libraries. It is built with Bun, TypeScript, and Turborepo, and runs on any platform that supports Bun or Node.

Prerequisites

  • Bun >= 1.3 or Node >= 18.17 to run the CLI and install the libraries
  • A package manager (npm, bun, or your tool of choice) to install from npm

Install the CLI

Install globally, or add it to your project as a dev dependency:

Install the libraries

Each stage of the pipeline is published as a separate package under the @ossl-dev scope. Install only the pieces you use:

The six packages

Standalone executable

To ship Differens as a single binary that needs no runtime install:
The compiled binary bundles Bun’s runtime, so it runs on machines without Bun or Node installed. The tradeoff is a larger file.

Verify the installation

You should see usage for the core commands:
Next: the Quickstart.