Skip to content

Getting started

You get from source code to an interactive code map in three steps: install the CodeCharta Shell, analyse your project, open the map. To look around first, open the live demo with CodeCharta’s own code.

You need Node 22.19 or newer and Java 22 or newer.

  1. Install the CodeCharta Shell:

    Terminal window
    npm i -g codecharta-analysis
  2. Analyse your project:

    Terminal window
    cd my-project
    ccsh analyse

    ccsh analyse runs an opinionated selection of parsers and options to get you started, adds the git or svn history and writes the map to my-project.cc.json.gz in the current folder.

  3. Open the Web Studio and load my-project.cc.json.gz with the folder button (Load cc.json files). See Loading maps.

OptionWhat you getNeeds
npmccsh on your machine, the most direct way to analyseNode, Java
Dockerccsh with Git, Tokei, Code Maat and SonarScanner bundled, and a self-hosted Web StudioDocker
Desktop appthe Web Studio as an app for Windows, macOS and Linuxnothing, or Node for the npm package
From sourcethe latest development version of both partsGit, Node, Java

The Web Studio at codecharta.com runs entirely in your browser: the map you load is not uploaded. See Data privacy.

  • Find your way around the map in the interface overview.
  • Add metrics from SonarQube, coverage reports and other tools with the importers.
  • Check every build against your own limits with the quality gate.