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:
co-authored by
Claude Opus 4.5
parent
c87c5487aa
commit
26f8f2f59f
@@ -172,7 +172,7 @@ For each project you want to use CodeGraph with:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd your-project
|
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.
|
That's it! Claude Code will now use CodeGraph tools automatically when a `.codegraph/` directory exists.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@colbymchenry/codegraph",
|
"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",
|
"description": "A local-first code intelligence system that builds a semantic knowledge graph from any codebase",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ export function showNextSteps(location: 'global' | 'local'): void {
|
|||||||
if (location === 'global') {
|
if (location === 'global') {
|
||||||
console.log(chalk.dim(' Quick start:'));
|
console.log(chalk.dim(' Quick start:'));
|
||||||
console.log(chalk.dim(' cd your-project'));
|
console.log(chalk.dim(' cd your-project'));
|
||||||
console.log(chalk.cyan(' codegraph init -i'));
|
console.log(chalk.cyan(' npx @colbymchenry/codegraph init -i'));
|
||||||
} else {
|
} else {
|
||||||
console.log(chalk.dim(' CodeGraph is ready to use in this project!'));
|
console.log(chalk.dim(' CodeGraph is ready to use in this project!'));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user