# 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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/cloudeka-api-list/how-to-install-cldkctl/install-for-linux.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
