Kanject CLI

The Kanject CLI is the .NET-on-AWS workflow tool: scaffold a service, manage stage config, run locally, deploy, preview, audit, and roll back from one command surface.

The CLI does not replace dotnet, AWS Lambda tools, CloudFormation, or your CI provider. It coordinates them around a manifest, stage files, a lockfile, and an S3 deployment ledger so the deploy loop becomes repeatable.

bash
kanject <root-command>
kanject aws <cloud-command>
01
Start
Install the global tool, run `kanject doctor`, scaffold with `kanject new`, then deploy a dev stage.
02
Operate
Use `kanject env`, `sync`, `test`, `aws deployments`, and `aws rollback` for the daily loop.
03
Scale
Add preview stacks, CI scaffolding, VPC config, custom domains, and multi-function services when the team needs them.

Command shape

Root commands are provider-agnostic and work against the project tree. Provider-bound commands live under a provider key; today the production path is kanject aws ....

  • kanject new, init, doctor, update — create and check projects
  • kanject add, env, sync, test, migrate — daily project work
  • kanject aws deploy, rollback, deployments, preview, pipeline, configure — cloud operations
Best next page
If this is your first run, go to CLI Quick Start. If you are evaluating the mental model, read CLI Concepts first.