Kanject.Cli
1.0.15
Prefix Reserved
See the version list below for details.
dotnet tool install --global Kanject.Cli --version 1.0.15
dotnet new tool-manifest
dotnet tool install --local Kanject.Cli --version 1.0.15
#tool dotnet:?package=Kanject.Cli&version=1.0.15
nuke :add-package Kanject.Cli --version 1.0.15
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 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, dotnet lambda,
and aws cloudformation deploy. 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.71 | 0 | 10/28/2026 |
| 1.0.70 | 40 | 10/27/2026 |
| 1.0.69 | 46 | 10/27/2026 |
| 1.0.68 | 54 | 10/26/2026 |
| 1.0.67 | 71 | 10/25/2026 |
| 1.0.66 | 61 | 10/24/2026 |
| 1.0.65 | 53 | 10/24/2026 |
| 1.0.64 | 58 | 10/24/2026 |
| 1.0.63 | 57 | 10/24/2026 |
| 1.0.62 | 63 | 10/24/2026 |
| 1.0.61 | 76 | 10/23/2026 |
| 1.0.60 | 98 | 10/22/2026 |
| 1.0.59 | 97 | 10/21/2026 |
| 1.0.58 | 89 | 10/21/2026 |
| 1.0.57 | 86 | 10/21/2026 |
| 1.0.56 | 90 | 10/21/2026 |
| 1.0.55 | 108 | 10/15/2026 |
| 1.0.54 | 104 | 10/13/2026 |
| 1.0.53 | 77 | 10/13/2026 |
| 1.0.15 | 127 | 7/10/2026 |