Copy for LLM Open Markdown PubNub provides SDKs for web, mobile, server, game engine, and embedded environments. If no SDK is available for your platform, use the REST API directly.
Web and server
SDK Version Platform Install JavaScript 13.0.3 Node.js 22+, modern browsers, React npm install pubnubPython 10.7.2 Python 3.9+ pip install pubnubJava 13.4.4 Android, JVM Add dependency to Gradle or Maven Kotlin 13.4.4 Android, JVM Add dependency to Gradle or Maven Dart 8.0.3 Flutter, standalone Dart dart pub add pubnubGo v10.0.0 Go 1.25+ go get github.com/pubnub/go/v9Ruby 6.1.1 Ruby gem install pubnubPHP 9.0.3 PHP composer require pubnub/pubnubRust 0.8.0 Rust cargo add pubnubC# 9.0.0 .NET dotnet add package PubNubREST API - Any HTTP client -
Mobile
SDK Version Platform Install Swift 10.2.0 iOS, macOS, tvOS, watchOS (Xcode 14+) Swift Package Manager or CocoaPods Kotlin 13.4.4 Android, JVM Add dependency to Gradle or Maven Java 13.4.4 Android, JVM Add dependency to Gradle or Maven Objective-C 7.0.4 iOS, macOS pod install PubNubDart 8.0.3 Flutter, standalone Dart dart pub add pubnub
Game engines
SDK Version Platform Install Unity v9.5.0 Unity Editor Unity Package Manager Unreal Engine 2.1.0 Unreal Editor Plugin
Embedded and IoT
Embedded SDKs do not use a package manager. For new projects, use the C SDK (version 1.0.0). The other embedded SDKs share the C-Core (legacy) library (version 7.3.5).
Was this page useful? Last updated on Sep 30, 2026