Install the SDK
Choose your language's native package manager. Go, JavaScript and C/C++ use the base Go, JS/WASM and CGo SDKs directly. The other language packages wrap those same implementations.
Release availability: two packages install today from their public registries: the Go module (through Go's module proxy) and @urnetwork/ for JavaScript and TypeScript (npm). The other language packages are awaiting publication; their commands below are the installation contract for that release, and each language guide also explains local package builds. Socket examples need a release containing the new socket API.
| Language | Native installation | Available today | Guide |
|---|---|---|---|
| C | vcpkg add port urnetwork-sdk | Not yet published | C guide |
| C++ | vcpkg add port urnetwork-sdk | Not yet published | C++ guide |
| C# | dotnet add package URnetwork.SDK | Not yet published | C# guide |
| Go | go get github.com/ | Yes | Go guide |
| Java | implementation("io.ur: | Not yet published | Java guide |
| JavaScript | npm install @urnetwork/ | Yes | JavaScript guide |
| Kotlin | implementation("io.ur: | Not yet published | Kotlin guide |
| Python | pip install urnetwork-sdk | Not yet published | Python guide |
| Ruby | gem install urnetwork-sdk | Not yet published | Ruby guide |
| Rust | cargo add urnetwork-sdk | Not yet published | Rust guide |
| Swift | .package(url: "https:// | Not yet published | Swift guide |
| TypeScript | npm install @urnetwork/ | Yes | TypeScript guide |
These unqualified commands select default/stable releases. For previews, use npm install @urnetwork/, pip install --pre urnetwork-sdk, dotnet add package URnetwork.SDK --prerelease, or gem install urnetwork-sdk --pre. Cargo, Maven and SwiftPM can pin the exact preview version. Preview package names are the same as stable package names.
Java and Kotlin on Android
Use io.ur: instead of the desktop JVM coordinate. The Android AAR is built with gomobile; desktop Java/Kotlin use JNA over the CGo runtime. Swift uses the existing Apple XCFramework.
Package contents
Python wheels, Ruby gems, NuGet packages and desktop JVM packages include their supported native libraries. The Rust crate downloads a version-pinned, checksum-verified native asset at build time and embeds it in the executable. Consumers need no Go compiler or manual DLL download. Support is limited to the platforms included in that release; Linux packages state their libc floor.
The npm package contains its paired Go/WASM runtime and TypeScript declarations, with runnable Node and browser examples. Both use a configured hosted Device. The browser's native fetch API has no custom socket factory; see the language's HTTP integration guide for its Axios request adapter and Direct Sockets example.
Examples and socket behavior
Open the Examples browser for each language's installation README, socket/ run guide, and executable source files. Read Socket for the difference between a kernel socket and a Device socket, including possible duplicate delivery when UDP races the first datagram across IPv4 and IPv6.
For source installation, version pinning and alternative package managers, use the language guides above. C/C++ recipes are published to a configured first-party Conan remote or vcpkg Git registry; add that remote/registry once before the commands above. Inclusion in the upstream public collections requires their maintainers' acceptance. The language guides include this setup and local CMake archive installation.