Kanject.Cli
1.0.29
Prefix Reserved
dotnet tool install --global Kanject.Cli --version 1.0.29
dotnet new tool-manifest
dotnet tool install --local Kanject.Cli --version 1.0.29
#tool dotnet:?package=Kanject.Cli&version=1.0.29
nuke :add-package Kanject.Cli --version 1.0.29
Kanject.Cli
A single .NET global tool that drives C# AWS services from dotnet new to
kanject aws deploy --env prod — wrapping the existing dotnet/AWS toolchain so
your inner loop stays vanilla and the Lambda, ECS Fargate, static-site, and
coupled full-stack deploy plumbing disappears behind one committed manifest.
Install
dotnet tool install --global Kanject.Cli
Requires the .NET 10 SDK. The aws, msbuild, and github providers ship
in the box — no extra installs.
Quickstart
# scaffold a new service (or run `kanject init` in an existing repo)
kanject new webapi --name Acme.Analytics
# add a stage and a second function
kanject add stage prod
kanject add function tasks --name Acme.Analytics.Worker
# deploy the stage's target — Lambda / ECS Fargate / static site / coupled pair
kanject aws deploy --env dev
# roll back to a prior deployment, interactively
kanject aws rollback --env prod
# pre-flight diagnostics (KANCLI codes; --json for CI)
kanject doctor
Discover everything with kanject --help and kanject aws --help.
What it does
- Bootstrap —
dotnet new+kanject initputs the manifest, NuGet config, and dotnet-tool pinning in place in one step. - Deploy —
kanject aws deploy --env <stage>resolves cross-repo dependencies and env, builds the provider artifacts, and ships the manifest's target (Lambda, ECS Fargate, static site, or a coupled backend + site), recording every release in an S3 deployment ledger. - Rollback —
kanject aws rollback --env prodshows the last 10 deployments with dates, statuses, targets, and commit summaries; pick one and Kanject does the target-native promotion with the prior artifact still immutable in S3/ECR. - And more — cross-repo dependency sync, a local test runner, env/param/secret management, preview environments, VPC & custom-domain wiring, multi-function services, and AWS-native pipeline scaffolding.
It invokes — never replaces — dotnet new, dotnet build, and dotnet lambda, and drives AWS services through their SDK APIs (including
CloudFormation change sets). The dotnet-native experience stays; kanject only
owns the AWS plumbing that doesn't have a great answer in the box.
Learn more
- Getting started: kanject.com/docs/getting-started
- Website: kanject.com/cli
- In-tool help:
kanject --help,kanject aws --help
License
Commercial — governed by the Kanject Code Libraries License Agreement (KCLLA);
see the bundled LICENSE.md. © Kanject Business Solutions.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.29 | 45 | 7/17/2026 |
| 1.0.28 | 93 | 7/15/2026 |
| 1.0.27 | 80 | 7/15/2026 |
| 1.0.26 | 88 | 7/15/2026 |
| 1.0.25 | 111 | 7/13/2026 |
| 1.0.24 | 111 | 7/12/2026 |
| 1.0.23 | 103 | 7/12/2026 |
| 1.0.22 | 107 | 7/11/2026 |
| 1.0.21 | 95 | 7/11/2026 |
| 1.0.20 | 93 | 7/11/2026 |
| 1.0.19 | 99 | 7/11/2026 |
| 1.0.18 | 104 | 7/11/2026 |
| 1.0.17 | 106 | 7/11/2026 |
| 1.0.16 | 114 | 7/10/2026 |
| 1.0.15 | 103 | 7/10/2026 |
| 1.0.14 | 108 | 7/10/2026 |
| 1.0.13 | 104 | 7/10/2026 |
| 1.0.12 | 100 | 7/10/2026 |
| 1.0.11 | 93 | 7/10/2026 |
| 1.0.10 | 102 | 7/10/2026 |