<commit_before>+++
title="Quick Start"
weight=1
+++

Clone and build the Joern:

```
git clone https://github.com/ShiftLeftSecurity/joern.git
cd joern
sbt createDistribution
mkdir -p install
cd install
unzip ../joern-cli.zip
unzip ../joern-server.zip
cd joern-cli
```

Create a cpg (stored in `cpg.bin.zip`):

```
./joern-parse joern-cli/src/test/resources/testcode/free
```<commit_msg>Revert "Fix quick start guide." (#125)<commit_after>+++
title="Quick Start"
weight=1
+++

Clone and build the Joern:

```
git clone https://github.com/ShiftLeftSecurity/joern.git
cd joern
sbt stage
```

Create a cpg (stored in `cpg.bin.zip`):

```
./joern-parse joern-cli/src/test/resources/testcode/free
```
{'fraction_non_alphanumeric': 0.16714697406340057, 'fraction_numerical': 0.007204610951008645, 'mean_word_length': 4.4296875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7579439', 'n_tokens_mistral': 276, 'n_tokens_neox': 261, 'n_words': 64}