Getting Started
Installation
Krythiq is a global CLI published through npm. Install it once and use it across projects on your machine.
Prerequisites
- Node.js 20 or later
- npm, pnpm, or bun
1
Install krythiq globally
Choose your preferred package manager:
npm install -g krythiq2
Verify the installation
Confirm krythiq was installed correctly:
krythiq --version→ 0.1.1
3
Authenticate (optional for AI features)
AI-powered trace analysis requires an API key. Krythiq uses Anthropic Claude under the hood.
krythiq authYou can also set ANTHROPIC_API_KEY in your environment and Krythiq will pick it up automatically.
You're ready
Head to Quick Start to run your first analysis.
Troubleshooting
EACCES: permission denied (Linux / macOS)
If you get a permissions error, configure your npm prefix to a user-writable directory:
Fix npm permissions
mkdir ~/.npm-globalnpm config set prefix '~/.npm-global'export PATH=~/.npm-global/bin:$PATH
Add the export PATH line to your ~/.zshrc or ~/.bashrc.
command not found: krythiq (after install)
Your shell may need to be reloaded after a global install:
source ~/.zshrc # or source ~/.bashrc