New .NET service
Go from an empty folder to a deployed dev API with stages, tests, manifest, and rollback already wired.
kanject new webapi Install the tool, check the machine, scaffold, deploy.
dotnet tool install -g Kanject.Cli --add-source <source> dotnet tool install -g Kanject.Cli .NET global tool from your team’s NuGet feed.
kanject doctor Verifies .NET, AWS CLI, Lambda tools, PATH, and project shape.
kanject new webapi --name Acme.Analytics Creates the solution, manifest, lockfile, stages, tests, and Lambda defaults.
kanject aws deploy --env dev Packages, deploys, flips the alias, writes the ledger, then prints the URL.
Different teams arrive with different problems. The CLI meets them where they are.
Go from an empty folder to a deployed dev API with stages, tests, manifest, and rollback already wired.
kanject new webapi Add kanject beside an existing project without rewriting your app or replacing the AWS Lambda toolchain.
kanject init Run the app or Lambda TestTool with stage-shaped env, including clear warnings when secrets enter the local process.
kanject test --pull-env Use preview stacks for ephemeral review environments, then deploy the same manifest to dev, stage, or prod.
kanject aws preview Browse the deployment ledger, mark bad versions, and flip prod back to a known-good Lambda version without rebuilding.
kanject aws rollback Scaffold CodePipeline/CodeBuild when you want AWS-native CI, or keep GitHub Actions and run deploy non-interactively.
kanject aws configure Six artifacts make the workflow predictable: reviewed inputs in git, one generated file, and an audit ledger in S3.
manifest.json git Service name, provider, stages, entries, package type, and cross-repo dependencies.
manifest.lock.json git Pinned SHAs and content hashes so CI builds the same dependency graph every time.
stages/<stage>.json git Region, profile, stack, bucket, parameter path, and env references for each target.
preview.json git TTL, base stage, stack naming, and sharing rules for ephemeral preview stacks.
aws-lambda-tools.<stage>.json generated Regenerated from stage config before deploy. It is an output, not a file to hand-edit.
S3 deployment ledger S3 Append-only version snapshots with commit SHA, deployer, env hashes, status, and alias target.
Five seconds. No rebuild.
Every command has a place in the loop.
Create or adopt a project, then verify the local toolchain.
kanject new Scaffold a new project from a template.
kanject init Initialise kanject in an existing project.
kanject doctor Pre-flight checks against the toolchain and stages.
kanject update Pull the newest CLI + template pack from NuGet.
Work locally, manage stages and env, and keep dependencies reproducible.
kanject add function Add a Lambda entry to a multi-function service.
kanject add stage Add a stage (qa, prod-eu, canary…) to the manifest.
kanject add lib Register a cross-repo class library as a dep.
kanject add env Bind plain, SSM, or Secrets Manager values into a stage.
kanject env Inspect the resolved env for a stage.
kanject sync Resolve and pack every cross-repo dep at its pinned ref.
kanject test Run locally — webapi, Lambda TestTool, library aware.
kanject migrate Convert legacy ProjectReference paths into manifest deps.
Deploy, preview, configure, audit, and recover against the active provider.
kanject aws deploy Build, package, deploy, publish version, flip alias, write ledger.
kanject aws rollback Pick a prior version. Alias-flip in five seconds.
kanject aws deployments Browse the ledger. Mark versions stable or broken.
kanject aws preview Per-PR ephemeral stacks: ls, rm, url, extend.
kanject aws pipeline Scaffold and bootstrap CodePipeline + CodeBuild.
kanject aws configure Wizards for VPC + custom-domain stage config.
The sharp edges kanject smooths over without replacing the tools you already trust.
kanject sync Declare a class library by git URL, ref, and project path. Kanject packs it into a local feed and rewrites consumers to use <PackageReference> so CI builds on a fresh machine.
_ledger/versions/*.json Every deploy writes an append-only snapshot with version ARN, commit SHA, lockfile hash, deployer, and env hashes. Audit and rollback read the same source of truth.
kanject aws preview url Per-PR CloudFormation stacks inherit region, profile, and parameter path from a base stage, expire on a TTL, and can be cleaned up on a daily job.
kanject add function Schema v2 lets one service host multiple Lambda entries in a single CloudFormation stack when they should deploy and roll back as one atomic unit.
aws.provider AWS is the product path today. The provider host keeps cloud-bound commands behind adapters, with owner checks and isolated plugin loading for future provider packages.
kanject aws deploy --yes Generate CodePipeline and CodeBuild when you want AWS-native CI, or keep any runner that has .NET, AWS credentials, and the CLI installed.
Join forward-thinking developers and businesses who trust Kanject to eliminate cloud complexity and accelerate innovation.