Install

Install the CLI, SDK, and client packages from npm.

Docs menu

npm

npm install -g @substrio/cli
npm install @substrio/sdk
npm install @substrio/react
npm install substrio

The four public packages are @substrio/cli (which provides the substrio command), @substrio/sdk, substrio (the unscoped browser and Node client), and @substrio/react. Each declares engines.node of >=18 and has no install scripts. Run a command without installing it with npx:

npx @substrio/cli <command>

pnpm, yarn, bun

You can also install the packages with pnpm, yarn, or bun. For example, use pnpm add substrio, yarn add @substrio/cli, or bun add @substrio/react.