構成/Stacks

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-tools

Creates a frontend-tools.kenji.json file in the current directory.

Import

shell
$ kenji stack import ./frontend-tools.kenji.json

Copies 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

  1. Export: kenji stack export frontend-tools
  2. Share the .kenji.json file (commit to Git, send via Slack, etc.)
  3. Import: kenji stack import ./frontend-tools.kenji.json
  4. Install: kenji stack install frontend-tools