Skip to main content
Version: 1.0.0

Installation

Add @harbor/sdk to a Node.js project with your preferred package manager.

Requirements

RequirementVersion
Node.js18.x or later

Check your Node version:

node --version

Install the package

From your project root:

pnpm add @harbor/sdk
npm install @harbor/sdk
yarn add @harbor/sdk

Verify the install

Print the installed SDK version:

node -e "console.log(require('@harbor/sdk/package.json').version)"

You should see 1.0.x. Continue to Quickstart to configure credentials and send a request.