Skip to content

Installation

RequirementMinimumRecommended
Node.js18.0+22.x LTS
npm9.0+11.x
OSmacOS, Linux, WindowsmacOS, Linux
Terminal window
npm install -g skill-forge

You can also run skill-forge without installing globally:

Terminal window
npx skill-forge create my-skill
npx skill-forge validate
npx skill-forge publish
Terminal window
skill-forge --version
# skill-forge v1.0.0
skill-forge --help
# Available commands:
# create <name> Create a new skill from a template
# validate Validate the current skill
# publish Publish to the skill registry
# list List available templates

Enable tab completion for your shell:

Terminal window
# Bash
skill-forge completion bash >> ~/.bashrc
# Zsh
skill-forge completion zsh >> ~/.zshrc
# Fish
skill-forge completion fish > ~/.config/fish/completions/skill-forge.fish
Terminal window
npm update -g skill-forge

If you get EACCES errors, fix npm’s global directory permissions:

Terminal window
mkdir -p ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.zshrc
source ~/.zshrc
Terminal window
npm config set proxy http://proxy.example.com:8080
npm config set https-proxy http://proxy.example.com:8080
npm install -g skill-forge