> For the complete documentation index, see [llms.txt](https://inkporter.raniaamina.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://inkporter.raniaamina.id/how-to-install/cli-linux.md).

# Inkporter CLI (Linux)

There are two ways to install Inkporter CLI on Linux. You can use PPA or download the script directly. You can also use Inkporter CLI for Linux on Windows 10.

### Using PPA

For Debian\Ubuntu based distributions, you can use the GimpScape PPA to install Inkporter

Open your Terminal and run the commands below in the following order.

```bash
curl -s --compressed "https://gimpscape.github.io/gimpscape-ppa/tools/KEY.gpg" | sudo apt-key add -
​
sudo curl -s --compressed -o /etc/apt/sources.list.d/gimpscape-ppa.list "https://gimpscape.github.io/gimpscape-ppa/tools/gimpscape-ppa.list"
​
sudo apt update && sudo apt install inkporter
```

### Download the script directly

For other Linux distributions that don't support PPA, you can get the Inkporter script via this page: <https://github.com/raniaamina/inkporter/releases/tag/v2.3.1-linux>.  Extract the zip file and put the whole file into `/usr/local/bin/` and make sure you have set execute permissions on the file to allow it to execute as a program (`sudo chmod +x FILENAME`).

### Using Inkporter CLI for Linux on Windows 10

If you want to use the bash version of Inkporter on Windows 10, first you will need to configure the Windows Subsystem for Linux or WSL for short. To do that go to`Control Panel -> Programs -> Turn Windows features on or off` then check on `Windows Subsystem for Linux`&#x20;

![Activate Windows Subsystem for Linux](/files/-MCuVWkxdQCRpWPOqz8-)

Then restart your Windows and install a Linux distribution for your WSL. You can get it from the Microsoft Store or download it from [here](https://docs.microsoft.com/en-us/windows/wsl/install-manual#downloading-distros). Follow the installation instructions above depending on the distro you choose.


---

# 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, and the optional `goal` query parameter:

```
GET https://inkporter.raniaamina.id/how-to-install/cli-linux.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
