# Environment setup
## Clone the repository

To set up the repository:

```
git clone https://github.com/TriliumNext/trilium-ckeditor5.git
```

## Install dependencies

First, install root dependencies:

```
cd trilium-ckeditor5
yarn install
```

Secondly, install the Trilium build dependencies:

```
cd packages/ckeditor5-build-trilium
yarn install
```

To trigger the build, see <a class="reference-link" href="Building%20the%20editor.md">Building the editor</a>.