command -v codegraph is unreliable inside npx because npx puts a temporary binary in PATH. The check always passes, so the global install is always skipped — which is the root cause of #37 and #38. Fix: remove the check entirely, always run npm install -g.