Installation
Installing the Package
Section titled “Installing the Package”Install effect-analyzer using your preferred package manager:
# npmnpm install effect-analyzer
# pnpmpnpm add effect-analyzer
# yarnyarn add effect-analyzerts-morph (the TypeScript AST parser that powers all static analysis) is bundled automatically.
Global CLI Installation
Section titled “Global CLI Installation”If you want the effect-analyze command available globally, install with the -g flag:
npm install -g effect-analyzerThis lets you run effect-analyze from any directory without npx.
Verify Installation
Section titled “Verify Installation”Confirm everything is set up correctly:
npx effect-analyze --helpYou should see the CLI help output listing all available flags and formats.
TypeScript Configuration
Section titled “TypeScript Configuration”The analyzer auto-detects your tsconfig.json for type information. If you need to point it at a specific config, use the --tsconfig flag:
npx effect-analyze ./src/program.ts --tsconfig ./tsconfig.app.jsonNext Steps
Section titled “Next Steps”Head to the Quick Start to analyze your first Effect program.