Getting Started
This guide helps you install Zcrafter and start using it in minutes.
Prerequisites
Before you begin, make sure you have:
- Node.js 16 or higher (18 LTS or 20 LTS recommended)
 - Internet access for AI features
 - Terminal or command prompt access
 
Check your Node.js version:
node --versionIf you need to install or upgrade Node.js, visit nodejs.org and download the LTS version.
Installation
Install Zcrafter globally using npm:
npm install -g zcrafterIf you encounter a permission error, use:
sudo npm install -g zcrafterVerify installation
zcrafter --versionSet your API key
Zcrafter uses your OpenRouter API key. Set it as an environment variable:
export OPENROUTER_API_KEY="your-api-key"To persist it, add the same line to your shell profile (for example, ~/.zshrc), then reload your shell:
source ~/.zshrcFirst run
Start the interactive interface:
zcrafterAt the prompt, you can immediately ask questions or run commands. Examples:
Explain what COBOL is
Why did my job fail with S0C7Interactive mode basics
In interactive mode, you can:
- Ask questions in natural language
 - Use slash commands to perform actions
 - View responses and iterate quickly
 
Next steps
- Learn about Using Zcrafter
 - See Natural Language Commands
 - Explore Slash Commands
 
Common issues
Permission errors
sudo npm install -g zcrafterNode.js version too old
Install an LTS version from nodejs.org and try again.