githubEdit

Installations

Everything you need to install

System Requirements

Before installing Kontrol, ensure your system meets the following requirements:

  • RAM: 16GB of RAM is recommended for running Kontrol effectively

  • SWAP Space: 16GB of SWAP space is recommended for installation and operation

    • On Linux systems, you can check your current SWAP space with free -h

    • To increase SWAP space, you can create a swap file:

      sudo fallocate -l 16G /swapfile
      sudo chmod 600 /swapfile
      sudo mkswap /swapfile
      sudo swapon /swapfile

      To make the SWAP file permanent, add this line to /etc/fstab:

      /swapfile none swap sw 0 0
circle-exclamation

Installing Foundry

To install Foundry execute the following command:

curl -L https://foundry.paradigm.xyz | bash

After installation open a new terminal session or reload your PATH and run foundryup.

For other installation methods, go to the Foundry Documentationarrow-up-right.

Installing Kontrol

The simplest way to install Kontrol is with the kup arrow-up-rightpackage managerarrow-up-right. To install kup execute the following command:

After installing kup, open a new terminal session or reload your PATH and install Kontrol using kup with the following command:

circle-info

The first installation of kup will take sometime. Check out the Kup Cheatsheet for some additional information!

Docker Installation

Kontrol is also available as a Docker image, which can be used to run Kontrol without installing it on your host system. This is particularly useful for CI/CD pipelines or when you want to avoid local installation.

To use the Kontrol Docker image:

The Docker image includes all necessary dependencies and is automatically updated with each Kontrol release. You can find all available versions on Docker Hubarrow-up-right.

CI Installation

For GitHub Actions workflows, you can use the official install-kontrolarrow-up-right action. Here's an example workflow:

This action handles the installation of all required dependencies and sets up Kontrol in your CI environment.

For detailed instructions on building Kontrol from source, go to the Kontrol repositoryarrow-up-right.

Last updated

Was this helpful?