---
description: Building from source with Go
---

# Building from Source

To build the server you will need to have Go installed and all the requirements for Go ready.&#x20;

Go simplifies the build, so to be able to build and use all you need to do is clone the repo from the following link: [https://github.com/ywadi/crimsonq](https://github.com/ywadi/crimsonq)&#x20;

{% hint style="info" %}
Make sure to change the configuration as needed, the configuration is the file crimson.config and is a yaml file. See more about configuration on the [Server Configuration page](server-configuration).
{% endhint %}

Once it is cloned, you will need to build it as follows;&#x20;

```
cd crimsonq 
go build . 
sudo ./crimsonq 
```

This will generate and run the server binaries for you.&#x20;

To also be able to use the CLI you can build the crimsonq-cli as follows;&#x20;

```
cd crimsonq/cmd
go build . 
mv cmd crimsonq-cli
ln -s crimsonq-cli /bin/
```

This will build the cli and add it to your bin so you can call `crimsonq-cli` from any path now, for more information about the cli, you can go to the [Crimsonq-Cli page.](../server-interfaces/crimsonq-cli)
