Skip to content

Installation

Jose Eduardo Rojas Jimenez edited this page Dec 14, 2025 · 1 revision

Installation

From pub.dev (Recommended)

Add to your pubspec.yaml:

dependencies:
  dart_ipfs: ^1.2.0

Then run:

dart pub get

From Git (Latest Development)

dependencies:
  dart_ipfs:
    git:
      url: https://github.com/jxoesneon/IPFS.git

Requirements

Requirement Version
Dart SDK ≥3.5.4 <4.0.0
Flutter Optional (for mobile)

Verify Installation

import 'package:dart_ipfs/dart_ipfs.dart';

void main() async {
  final node = await IPFSNode.create(
    IPFSConfig(dataDir: './test_data', offline: true),
  );
  await node.start();
  print('IPFS Node started: ${node.peerID}');
  await node.stop();
}

Next Steps

Clone this wiki locally