Skip to content

Installation

Optique consists of two packages, each of which is both a JSR package and a npm package. You would typically install both packages:

deno add --jsr @optique/core @optique/run
npm add @optique/core @optique/run
pnpm add @optique/core @optique/run
yarn add @optique/core @optique/run
bun add @optique/core @optique/run

You may want to use Optique in a web browser, in which case you would only install the @optique/core package:

deno add jsr:@optique/core
npm add @optique/core
pnpm add @optique/core
yarn add @optique/core
bun add @optique/core