From 26f8f2f59fb17eab5d79c1a327d8c596b9009ba2 Mon Sep 17 00:00:00 2001 From: Colby McHenry Date: Mon, 19 Jan 2026 15:18:47 -0600 Subject: [PATCH] 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 --- README.md | 2 +- package.json | 2 +- src/installer/banner.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 11f8315..66ba831 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ For each project you want to use CodeGraph with: ```bash cd your-project -codegraph init -i +npx @colbymchenry/codegraph init -i ``` That's it! Claude Code will now use CodeGraph tools automatically when a `.codegraph/` directory exists. diff --git a/package.json b/package.json index 27eeb70..e1308dd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@colbymchenry/codegraph", - "version": "0.2.2", + "version": "0.2.3", "description": "A local-first code intelligence system that builds a semantic knowledge graph from any codebase", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/installer/banner.ts b/src/installer/banner.ts index 952f6e0..3630405 100644 --- a/src/installer/banner.ts +++ b/src/installer/banner.ts @@ -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!')); }