Build from source
Build both parts from the repository to run the latest development version or to work on CodeCharta yourself.
Prerequisites
Section titled “Prerequisites”- Git
- Java >= 22. The build compiles with JDK 25, which Gradle downloads when it is missing.
- Node 22.22.3 or newer on 22.x, 24.15 or newer on 24.x, or 26 and newer
Clone the repository
Section titled “Clone the repository”git clone https://github.com/MaibornWolff/codechartacd codechartaBuild the CodeCharta Shell
Section titled “Build the CodeCharta Shell”The analysis is a Kotlin project built with Gradle. Run every Gradle command from the analysis folder:
cd analysis./gradlew installDistThe build puts ccsh into build/install/codecharta-analysis/bin/. It works like the installed ccsh, for example
with ccsh analyse:
./build/install/codecharta-analysis/bin/ccsh -h./build/install/codecharta-analysis/bin/ccsh analyse path/to/your/projectThe map lands in the current folder as <project folder name>.cc.json.gz. See
CodeCharta Shell for every command.
Build and run the Web Studio
Section titled “Build and run the Web Studio”The visualization is an Angular application. From the repository root:
cd visualizationnpm installnpm run devnpm run dev starts a development server with the Web Studio, where you can load the maps the shell writes.
For a production build, and to start the desktop app from it:
npm run buildnpm run startContribute
Section titled “Contribute”The contribution guide and the developer start guide explain the workflow, the tests and the checks a pull request has to pass.