This document covers how to build and distribute theDocumentation Index
Fetch the complete documentation index at: https://aipkg.org/llms.txt
Use this file to discover all available pages before exploring further.
aipkg CLI binary and AI•Pkg.Core NuGet package. For the public API surface and command syntax, see the SDK Interface spec.
AI•Pkg.Core NuGet Package
Project Configuration
Add toAI•Pkg.Core.csproj:
Publishing to NuGet.org
- Set
<PackageVersion>inAI•Pkg.Core.csproj dotnet pack -c Releasedotnet nuget push AI•Pkg.Core.{version}.nupkg --api-key {key} --source https://api.nuget.org/v3/index.json
v* tag push.
aipkg CLI: Native AOT
Why Native AOT
Theaipkg CLI ships as a single self-contained binary with no .NET runtime requirement. Users on platforms where .NET is not installed (common for Claude Code users) get a zero-dependency install.
Publish Configuration
Add toAI•Pkg.CLI.csproj:
RID Matrix
| RID | Platform | Binary Name |
|---|---|---|
win-x64 | Windows x64 | aipkg.exe |
linux-x64 | Linux x64 | aipkg |
linux-arm64 | Linux ARM64 | aipkg |
osx-x64 | macOS Intel | aipkg |
osx-arm64 | macOS Apple Silicon | aipkg |
Distribution Channels
| Channel | Command / URL | Notes |
|---|---|---|
| Direct download | GitHub Releases | Primary; all platforms |
| Windows | winget install aipkg | Submit to Windows Package Repository |
| macOS | brew install aipkg | Submit to Homebrew core or tap |
| Linux (future) | apt install aipkg | Post-MVP; requires .deb packaging |
| Script | curl -fsSL https://aipkg.org/install.sh | sh | Detects platform, downloads from GitHub Releases |
GitHub Actions CI/CD Pipeline
TypeScript SDK Strategy (Post-MVP)
The TypeScript SDK is scoped to post-MVP. When implemented:@aipkg/core— Registry client and manifest parsing. Published to npm.- Platform packages —
@aipkg/claude-code,@aipkg/copilot,@aipkg/cursor— thin wrappers with platform-specific install path logic.
aipkg-js). Build tooling: tsc + tsup for dual CJS/ESM output.
See SDK Interface spec for the normative TypeScript API surface.