Installation
Install Meshkit and set up Kubo for your Node.js project.
Requirements
- Node.js 20 or later
- npm, pnpm, or yarn
- A running Kubo daemon, or install Kubo and put
ipfson your PATH if you wantlocalNode: true
Install the SDK
npm install @ipfs-meshkit/meshkitpnpm add @ipfs-meshkit/meshkityarn add @ipfs-meshkit/meshkitThe package ships ESM and CommonJS builds with bundled TypeScript types, plus a browser entry point. No separate @types package is needed. The browser entry supports S3-compatible clients such as createS3Client() and createFilOneClient(); it does not start a local Kubo daemon.
The latest published SDK is 1.2.1. The MCP server is published separately as @ipfs-meshkit/mcp 1.0.1 and depends on Meshkit 1.2.1 or newer.
Install Kubo (optional)
If you want Meshkit to start a local daemon automatically (localNode: true), install Kubo and ensure ipfs is on your PATH.
Follow the official Kubo install guide for your OS, then verify:
ipfs version
# Kubo version: 0.x.xIf you already have a Kubo daemon running elsewhere (server, Docker), skip this step — just pass its RPC URL in nodes.
Add .ipfs to .gitignore
When using localNode: true, Meshkit stores the Kubo repo in ./.ipfs by default. Add it to your .gitignore:
.ipfs