Parcourir la source

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>
Colby McHenry il y a 5 mois
Parent
commit
26f8f2f59f
3 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 1 1
      README.md
  2. 1 1
      package.json
  3. 1 1
      src/installer/banner.ts

+ 1 - 1
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.

+ 1 - 1
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",

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