> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/guidance-for-enterprise/cloudeka-api-list/how-to-install-cldkctl/install-for-linux.md).

# Install for Linux

{% hint style="danger" %}
If the cldkctl binary is downloaded manually and executed from the current directory, prefix the command with ./, for example ./cldkctl --version. This allows the system to recognize and execute the local binary, as Linux does not include the current directory (./) in the system PATH by default.
{% endhint %}

The cldkctl tool for Linux can be installed through the Snap package manager, the Homebrew package manager, or by using the Manual Binary Installation method. Choose one of the methods below based on the preferred installation approach.

Install via Snap

1. Open the terminal and run the following command to install cldkctl:

```
sudo snap install cldkctl
```

2. After installation, verify the installation by running:

```
cldkctl --version
```

3. If the version number appears, the installation process is complete.

**Install via Homebrew**

1. Open the Terminal.
2. Run the following command to add the repository and install cldkctl:

```
brew tap Lintasarta/cldkctl 
https://github.com/Lintasarta/cldkctl.git
brew install cldkctl
```

3. After the installation is complete, verify it by running:

```
cldkctl --version
```

4. If the version number appears, the installation was successful.

**Manual Binary Installation**

1. Open the Manual Binary Installation section on the Service Portal AI.
2. Download the latest cldkctl binary from the GitHub Releases page.
3. Extract the downloaded file.
4. Move the extracted cldkctl binary to `/usr/local/bin/.`
5. Assign execution permission to the binary by running:

```
chmod +x /usr/local/bin/cldkctl
```

6. Verify the installation by running:

```
cldkctl --version
```

7. Once the version number appears, the installation is complete.
