Cline is an AI coding agent. It is available in several installation formats depending on your specific workflow:

  • Desktop App — A standalone, native desktop application.
  • IDE Extension — Seamless integration with VS Code, Cursor, JetBrains, Windsurf, VSCodium, and Antigravity.
  • CLI — A command-line interface for terminal-based workflows.
  • ...and more.

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.

installation on Windows

Follow these steps:

  • Install Node.js. Cline requires Node.js version 20 or higher (version 22 is recommended). To verify if it is already installed and check your current version, open PowerShell and run the following commands:

node -v

npm -v

  • If you receive an error (e.g., Command 'node' not found or Command 'npm' not found), install Node.js using the Windows Package Manager:

winget install OpenJS.NodeJS.LTS

  • Restart your terminal and verify the version again.
  • Once Node.js is installed, install the Cline CLI by using npm:

npm install -g Cline

  • Restart your terminal one final time to ensure the PATH is updated, then verify the installation by running the built-in diagnostic command:

Cline doctor

1

installation on Ubuntu

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.

Installation Steps

Connect to your server via SSH and execute the following commands:

  • Verify Node.js and npm installation. Check that Node.js (version 20 or higher, 22 recommended) and the npm package manager are installed:

node -v

npm -v

  • If you receive an error (e.g., Command 'node' not found), install them using the following commands:

sudo apt update

curl -fsSL https://nodesource.com | sudo -E bash -

sudo apt install -y nodejs

sudo apt install -y npm

  • Set up a directory for global npm packages to avoid requiring sudo privileges for installations:

mkdir -p ~/.npm-global

npm config set prefix '~/.npm-global'

echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc

source ~/.bashrc

  • Install Cline. Install the Cline CLI globally using the following command:

npm install -g Cline

Check the intallation by using the command:

Cline doctor

Connecting to immers.cloud endpoints

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

2

In the following list, select "OpenAI Compatible":

3In the appeared form, enter the following:

Base URL

https://chat.immers.cloud/v1/endpoints/generate

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.

5

Working with Cline

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.

7

To check functionality, you can enter a simple prompt and check the changes in your development environment. Useful keys when working:

  • Enter — send a prompt/command, select an autocomplete option, or queue a request during execution.
  • Shift + Enter (or Alt + Enter / Ctrl + J) — move to a new line without sending.
  • Tab — switch between Plan and Act modes (or accept an autocomplete hint).
  • Shift + Tab — toggle tool auto-approval.
  • / — open the list of built-in slash commands.

More details on how to work with Cline are described in the documentation.

8

Current information on actual token consumption and charges under connected plans can be viewed on the Token Consumption page.

Using another immers.cloud endpoint

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

9

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

Cline auth

Updated Date 03.12.2026
We use cookies and web analytics services to ensure the proper functioning of the website, analyze web-site traffic, and improve the quality of our services.
By continuing to use the website, you consent to the Privacy Policy and consent to the processing of cookie files and technical data.