Ensemble
ReferenceCLI reference

ens kit

Author, install, and manage kits under .ensemble/kits/. See Authoring a kit for the workflow this command group supports end-to-end.

ens kit new <name> <role>

Scaffold a new kit at .ensemble/kits/<role>/<name>.

ens kit new my-deploy-target deploy

<role> is one of build, pack, deploy, lib, ecosystem.

ens kit install <url>

Clone a kit from a git repository and install it into .ensemble/kits/<role>/<name>.

ens kit install https://github.com/org/their-kit
ens kit install https://github.com/org/[email protected]   # pinned to a ref

ens kit eject <name> <remote>

Push a locally-authored kit to its own repository and register it as a vendored checkout.

ens kit eject my-deploy-target [email protected]:org/my-deploy-target.git

ens kit pin <name> <ref>

Move an installed kit's checkout to a different ref.

ens kit pin my-deploy-target v1.3.0

ens kit update <name> [bump]

Move an installed kit to its next patch/minor/major tag. <bump> is one of patch, minor, major — defaults to patch.

ens kit update my-deploy-target
ens kit update my-deploy-target minor

ens kit contribute <name>

Push an installed kit's local change upstream and open a pull request against its remote.

ens kit contribute my-deploy-target

ens kit uninstall

Remove a vendored kit — the inverse of ens kit install: its checkout, its .ensemble/vendor.lock.yml entry, and its .gitignore line. Aliases: ens kit remove, ens kit rm.

ens kit uninstall <name>
ens kit rm <name> --force

Only vendored kits can be uninstalled: one authored in this project was never installed, and deleting it is deleting your own code. Without -f, --force, it refuses while an app, release or library still declares the kit (a build.<app>.kit, a release's kit:, a library's publish: kit), or while the checkout holds changes its remote doesn't have (uncommitted, or commits on no remote branch or tag) — ens kit contribute them first.