Skip to main content

Use Cline CLI in Open WebUI

Set up Cline CLI in the terminal​

Install Cline CLI in your terminal workspace. If you use npm, run the following commands as the terminal user.

npm install -g cline
cline auth

Choose your provider in the authentication flow, then run cline from the project folder and send a short prompt. If you've already configured Cline in your editor, still check that this terminal user's CLI can reach the provider. Cline CLI setup

Select Cline in Open WebUI​

In a new saved chat, select your Terminal, then use Choose working directory to pick your project. Open the model picker and choose a model beginning with cline/. If you still need to connect the workspace, follow the Open Terminal quick start.

Open Terminal runs cline --acp to start a session using the Agent Client Protocol (ACP). Ask Cline to find the project’s test command and show where it found it. You can review any tool requests in the same conversation.

This content is for informational purposes only and does not constitute a warranty, guarantee, or contractual commitment. Open WebUI is provided "as is." See your license for applicable terms.