MDK Logo

Install the CLI

[⏱️ ~3 min] Get `mdk` installed and verified from a tagged source checkout

mdk is MDK's command-line tool for standing up and operating a stack from your terminal. It scaffolds a stack (mdk create), boots it (mdk run), and reports its health (mdk status), all driven by the mdk.yaml spec mdk onboard writes for you.

Prerequisites

@tetherto/mdk-cli isn't published to npm yet — install from a tagged source checkout.

Install

git clone --branch v0.7.0 https://github.com/tetherto/mdk.git && cd mdk/packages
npm install
cd cli && npm run build && npm link

Verify

mdk --version
# 0.7.0

Command groups

GroupCommands
Onboardingmdk onboard
Scaffoldmdk create worker|plugin|dashboard
Run & managemdk run [target], mdk status
Agent enablementmdk skill add
Metamdk version

See the full flag reference in the CLI's command surface.

Update

git pull && npm install && npm run build

Uninstall

npm rm -g @tetherto/mdk-cli

Next

Try the demo to see a stack running end to end.

On this page