Cline is an AI coding agent. It is available in several installation formats depending on your specific workflow:
This guide covers the installation of the CLI version on Windows and Ubuntu. The connection parameters (base_url, api_key, model) for the immers.cloud endpoints remain exactly the same regardless of the installation method you choose.
Follow these steps:
node -v
npm -v
winget install OpenJS.NodeJS.LTS
npm install -g Cline
Cline doctor

Before proceeding with the installation, it is highly recommended to use a VPS (Virtual Private Server) for a more secure agent workflow.
By definition, the agent requires system-level access: it executes shell commands, edits files, and interacts with the network. Consequently, your project data and environment variables become part of its operational context. An isolated environment is significantly safer. A dedicated server hosts only your project, containing no personal correspondence, payment details, or credentials for other work services. Furthermore, if anything goes wrong, the environment can be completely redeployed in a matter of minutes.
Additionally, a remote server runs 24/7 without draining your local laptop's resources, allowing you to experiment freely. If a configuration breaks, only the isolated environment is affected, making it trivial to tear down and recreate. Therefore, a highly convenient option is to provision a dedicated server directly through the immers.cloud platform.
For a budget-friendly setup, we recommend provisioning a CPU server with a modest amount of RAM, such as the cpu.2.8.40 configuration, using the Ubuntu 24.04 (Jul 2026) [UEFI] pre-installed image. To do this, navigate to the server creation page, configure the parameters to suit your task, and wait until the server status changes to Active.
Connect to your server via SSH and execute the following commands:
node -v
npm -v
sudo apt update
curl -fsSL https://nodesource.com | sudo -E bash -
sudo apt install -y nodejs
sudo apt install -y npm
mkdir -p ~/.npm-global
npm config set prefix '~/.npm-global'
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
npm install -g Cline
Check the intallation by using the command:
Cline doctor
To connect to an immers.cloud endpoint in Cline CLI, use the command:
cline auth
A window will appear with a choice of provider. Use the arrow keys to select "Bring your own provider".

In the following list, select "OpenAI Compatible":
In the appeared form, enter the following:
|
Base URL |
If your private endpoint hosts a model that is also available on a public endpoint, using the default URL above does not currently guarantee that inference will be routed specifically to your private instance rather than the public one. To ensure your requests are routed exclusively to your private endpoint, enter the exact URL provided in the API Access field on your private endpoint's dashboard into the Base URL field. |
| Azure API Version (optional) |
Leave this field empty. |
|
API key |
Enter your immers.cloud API token. You can generate this token on the Token Management page after completing registration and account verification. |
To navigate between fields, use the Tab key.
Next, a prompt will appear asking you to enter the model name. Enter qwen3.8-27b, or select any other model available through the public endpoints. You can view the complete list by navigating to the Model Catalog page and filtering by the "Available for Trial" tag.
Next, a prompt will appear asking you to enter the model name. Enter qwen3.8-27b, or select any other model available through the public endpoints. You can view the complete list by navigating to the Model Catalog page and filtering by the "Available for Trial" tag.

To start, navigate to your project folder and run Cline using the commands:
cd path_to_your_project
Cline
At startup, you can pass a flag with the reasoning level, for example, low, medium, high, xhigh; the possible values depend on the model.
Cline --thinking medium
If you do not know the possible levels, enter any value and check the list in the error output.
At startup, you will see a message advertising ClinePass. Press any key except Enter to close the window and start working.

To check functionality, you can enter a simple prompt and check the changes in your development environment. Useful keys when working:
More details on how to work with Cline are described in the documentation.

Current information on actual token consumption and charges under connected plans can be viewed on the Token Consumption page.
If you decide to try another endpoint and the base Url is set to https://chat.immers.cloud/v1/endpoints/generate, use the following command to change the model in an active session:
/model

If you plan to switch to a private endpoint, exit Cline and use the following command in the terminal (see details above):
Cline auth