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 McHenryandClaude Opus 4.5 committed 2026-01-19 15:18:47 -06:00
1 parent c87c5487aa
commit 26f8f2f59f
3 files changed
+3 -3

No files matched your search

+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!'));
}