Export & Import
Stacks can be exported to a portable JSON file and imported on another machine or by a teammate.
Export
shell
$ kenji stack export frontend-toolsCreates a frontend-tools.kenji.json file in the current directory.
Import
shell
$ kenji stack import ./frontend-tools.kenji.jsonCopies the file into ~/.kenji/stacks/, registering it as a global stack.
Note
Import does not install skills. It only registers the stack definition. Run
kenji stack install afterwards to download the skills.Full workflow
- Export:
kenji stack export frontend-tools - Share the
.kenji.jsonfile (commit to Git, send via Slack, etc.) - Import:
kenji stack import ./frontend-tools.kenji.json - Install:
kenji stack install frontend-tools