Installation
Install Ontoly and initialize repository-local graph artifacts.
Why
Ontoly is repository-local. It should be installed beside the code it analyzes so graph generation is reproducible for every developer and CI run.
Install
Install the CLI as a development dependency:
pnpm add -D @0xsarwagya/ontoly-cli@rcRun commands through your package manager:
pnpm exec ontoly --help
pnpm exec ontoly build .Initialize
Initialize a repository:
pnpm exec ontoly initThis creates:
.ontoly/
ontoly.config.tsThe config is intentionally small:
import { defineOntolyConfig } from "@0xsarwagya/ontoly-cli";
export default defineOntolyConfig({
outputDir: ".ontoly",
parsers: {
typescript: true,
},
});Ontoly keeps generated graph artifacts local to the repository.
Verify
pnpm exec ontoly --help
pnpm exec ontoly doctor .