Skip to content

Getting started

Installation

You can install NDK core using your favorite package manager.

sh
npm i @nostr-dev-kit/ndk
sh
pnpm add @nostr-dev-kit/ndk
sh
yarn add @nostr-dev-kit/ndk
sh
bun add @nostr-dev-kit/ndk

NDK is compatible with node v16+

Other packages

For other functionality you might need additional packages:

Extras

Framework Integrations

Cache Adapters

These NDK adapters are used to store and retrieve data from a cache so relays do not need to be re-queried for the same data.