CLI Installation
The Smidge CLI (smdg) lets you generate and install skills directly from your terminal. It's the fastest way to integrate skill generation into your workflow.
Requirements
- ●Node.js 20+ — the CLI is built on Node.js and requires version 20 or later
- ●npm — comes bundled with Node.js
Verify your Node.js version:
Terminalbash
node --version
# v20.x.x or higherInstall via npm
Install the CLI globally:
Terminalbash
npm install -g smdgVerify Installation
Confirm the CLI is installed correctly:
Terminalbash
smdg --version
# smdg/1.x.xYou should see the version number printed to stdout. If you see a “command not found” error, ensure your npm global bin directory is in your PATH.
PATH issues?
Run
npm config get prefix to find your global install directory. Add {prefix}/bin to your shell's PATH.Update
Update to the latest version:
Terminalbash
npm update -g smdgUninstall
Remove the CLI:
Terminalbash
npm uninstall -g smdgThis removes the binary but does not delete your stored credentials. To clear those, run smdg logout before uninstalling, or manually delete ~/.config/smdg-nodejs/config.json.