Fix next steps to use npx instead of global codegraph command

Users running via npx don't have the codegraph command installed
globally. Update installer message and README to use
npx @colbymchenry/codegraph init -i instead.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Colby McHenry
2026-01-19 15:18:47 -06:00
co-authored by Claude Opus 4.5
parent c87c5487aa
commit 26f8f2f59f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ export function showNextSteps(location: 'global' | 'local'): void {
if (location === 'global') {
console.log(chalk.dim(' Quick start:'));
console.log(chalk.dim(' cd your-project'));
console.log(chalk.cyan(' codegraph init -i'));
console.log(chalk.cyan(' npx @colbymchenry/codegraph init -i'));
} else {
console.log(chalk.dim(' CodeGraph is ready to use in this project!'));
}