Trivio Logo
Docs
v0.1.0
Getting Started

SDK Installation

All Trivio packages are published under the verified @trivio.ink npm organization.

Package Manager Requirement

Trivio officially supports npm. Ensure Node.js >= 20.0.0 is installed.

Check runtime environmentbash
node -v  # Expected: v20.0.0 or higher
npm -v   # Expected: 10.0.0 or higher

1. Core Engine Installation

For pure calculation logic with zero runtime dependencies:

Install @trivio.ink/corebash
npm install @trivio.ink/core

2. Server-side Node.js Installation

For backend microservices, ledger recording, and configured clients:

Install @trivio.ink/nodebash
npm install @trivio.ink/node @trivio.ink/core

3. React UI Components Installation

For merchant portals, fee breakdown cards, and payout summary trees:

Install @trivio.ink/reactbash
npm install @trivio.ink/react @trivio.ink/core react react-dom