Broker Installation#
Download the Kobolds binary which includes the broker, cli and client all in one. As part of the closed alpha, you have been granted access to the Kobolds GitLab repository.
Warning: Kobolds currently only builds and publishes a Linux x86_64 version. You will have to compile from source if you are on any other CPU architecture. If you are not on Linux, sorry I got nothing for you.
Generate a Gitlab Personal Access Token - KOBOLDS_TOKEN#
If you already have this, skip. This assumes you have a GitLab account and have access to the Kobolds repository. On the top right of the GitLab UI, click your portrait and then Preferences. On the left, click Personal Access Tokens. Create a new token with read access to the registry. If the download step fails, you may need a more permissive token. Copy the access token. Save the token to your .bashrc or .zshrc file
Either source your rcfile or open a new terminal before continuing.
Pre Built Binary#
1. Download the kobolds binary#
This download assumes you have access to the Kobolds package registry. If you have been sent a package, you can continue to step 2.
curl --fail \
--location \
--header "PRIVATE-TOKEN: ${KOBOLDS_TOKEN}" \
https://gitlab.com/api/v4/projects/77463884/packages/generic/kobolds/v0.1.1/kobolds-v0.1.1-x86_64-linux-gnu.tar.gz \
--output kobolds-v0.1.1-x86_64-linux-gnu.tar.gz
2. Install the kobolds binary#
Extract the downloaded package
3. Add the binary to your PATH#
Add kobolds to your PATH by updating your .bashrc or .zshrc file.
Either source your rcfile or open a new terminal before continuing.
4. Validate the installation#
Build from Source#
This assumes you have at least read access to the repository AND that you have zig v0.16.0 installed.
1. Clone the repo#
2. Build the binary#
3. Copy the binary and relevant files to your desired location#
# copy the binary
cp ./zig-out/bin/kobolds <dest>
# copy the broker config
cp broker_config.yaml <dest>
# copy the client_config
cp client_config.yaml <dest>
3. Add the binary to your PATH#
Add kobolds to your PATH by updating your .bashrc or .zshrc file.
Either source your rcfile or open a new terminal before continuing.
4. Validate the installation#
Uninstall Kobolds#
1. Remove the binary from your PATH#
Open your .bashrc or .zshrc file and remove the entry for the PATH for kobolds. It should look like this.
2. Delete kobolds#
3. Reload your shell environment#
Either source your rcfile or open a new terminal before continuing.