Run Clawdbot Locally With Ollama — Complete Guide [2026]

Updated: July 25, 2026

What You Are Setting Up (Quick Context)

You are installing Clawdbot, an open-source AI assistant framework, and connecting it to Ollama so it runs locally using your own models.

This setup:

  • Runs fully on your machine
  • Does not require a Mac Mini or cloud AI subscription
  • Uses Ollama models like GLM 4.7
  • Gives you a web dashboard, sessions, logs, and automation features

Prerequisites (Do This First)

Before starting, make sure you have:

  1. A computer running Windows, macOS, or Linux
  2. Node.js version 22 or higher
  3. npm installed
  4. Terminal or Command Prompt access

Step 1: Install Ollama

  1. Open your browser
  2. Go to ollama.com
  3. Download Ollama for your operating system
  4. Install it normally
  5. After installation, keep Ollama running in the background

To confirm Ollama is installed, open a terminal and run:

ollama --version

If you see a version number, you are good.


Step 2: Install Clawdbot Globally

  1. Open Command Prompt / Terminal
  2. Run this command:
npm install -g Clawdbot@latest
  1. Wait for installation to finish

If you see npm warnings about updates, ignore them.

If you get errors

  • Update Node.js to version 22 or higher
  • Restart the terminal
  • Run the command again

Step 3: Run Clawdbot Onboarding

This creates the base configuration.

  1. In the terminal, run:
Clawdbot onboard
  1. When prompted:
    • Select Yes for security warning
    • Choose Quick Start
  2. Model provider:
    • Select Skip for now
  3. Default model:
    • Keep the default (Cloud Opus 4.5)
  4. Channel selection:
    • Select Skip for now
  5. Skills:
    • Select No
  6. Hooks:
    • Select Skip
  7. Gateway service:
    • Allow it to start

At the end, Clawdbot is installed and configured locally.

You may see a browser open with an error. This is expected at this stage.


Step 4: Pull an Ollama Model

Clawdbot needs a local model from Ollama.

Recommended models from the raw content:

  • GLM 4.7
  • Qwen Coder
  • GPT-OSS 20B or 120B

Example using GLM 4.7:

ollama pull glm4.7

Wait for the download to complete.


Step 5: Launch Clawdbot with Ollama

Now connect Ollama to Clawdbot.

  1. Open a new terminal window
  2. Run:
ollama run glm4.7
  1. In another terminal window, run:
Clawdbot launch
  1. When prompted:
    • Select GLM 4.7
    • Confirm with Y

Clawdbot now registers the Ollama model.


Step 6: Verify Configuration File

Clawdbot updates its config automatically.

Check this file:

C:\\Users\\<your-username>\\Clawdbot\\Clawdbot.json

Inside, you should see:

  • The Ollama provider
  • GLM 4.7 listed as an available model

This confirms successful integration.


Step 7: Start the Clawdbot Gateway

The gateway runs the web dashboard.

Check status:

Clawdbot gateway status

If not running, start it manually:

Clawdbot gateway --port 18789 --verbose

Step 8: Open the Clawdbot Web Interface

  1. Open your browser
  2. Go to:
<http://localhost:18789>

You should see:

  • Clawdbot dashboard
  • Health status showing OK
  • Left sidebar with Overview, Sessions, Channels, Skills, Cron Jobs

Step 9: Start Your First Session

  1. Click New Session
  2. Type:
hi

Clawdbot will respond with an onboarding message asking:

  • Who you are
  • What it should be called

This confirms everything is working.


Step 10: Understanding the Interface

Sessions

  • Every chat runs as a session
  • Sessions keep memory and logs

Channels

  • Optional integrations for Telegram, WhatsApp, Discord
  • Can be added later

Cron Jobs

  • Schedule tasks like:
    • Email summaries
    • Daily checks
    • Automated workflows

Skills

  • Extend Clawdbot abilities
  • Install later when needed

Logs

  • See everything Clawdbot executes
  • One terminal shows all activity

Important Security Notes (Do Not Skip)

Clawdbot:

  • Executes commands
  • Reads files
  • Browses the web
  • Acts autonomously

Best practices:

  • Do not connect personal email
  • Do not give password vault access
  • Use separate accounts
  • Prefer read-only permissions
  • Treat it like a virtual assistant with system access

Running locally or on a VPS limits damage if something goes wrong.


Finally

You now have:

  • Clawdbot running locally
  • Ollama powering the AI
  • No cloud dependency
  • Full control and visibility
  • Zero cost setup

If you want next guides, like:

  • Telegram integration
  • Cron automations
  • Skills setup
  • VPS deployment

Say the word and I’ll do it properly, step by step.

What You Are Setting Up (Quick Context)

You are installing Clawdbot, an open-source AI assistant framework, and connecting it to Ollama so it runs locally using your own models.

This setup:

  • Runs fully on your machine
  • Does not require a Mac Mini or cloud AI subscription
  • Uses Ollama models like GLM 4.7
  • Gives you a web dashboard, sessions, logs, and automation features

Prerequisites (Do This First)

Before starting, make sure you have:

  1. A computer running Windows, macOS, or Linux
  2. Node.js version 22 or higher
  3. npm installed
  4. Terminal or Command Prompt access

Step 1: Install Ollama

  1. Open your browser
  2. Go to ollama.com
  3. Download Ollama for your operating system
  4. Install it normally
  5. After installation, keep Ollama running in the background

To confirm Ollama is installed, open a terminal and run:

ollama --version

If you see a version number, you are good.


Step 2: Install Clawdbot Globally

  1. Open Command Prompt / Terminal
  2. Run this command:
npm install -g Clawdbot@latest
  1. Wait for installation to finish

If you see npm warnings about updates, ignore them.

If you get errors

  • Update Node.js to version 22 or higher
  • Restart the terminal
  • Run the command again

Step 3: Run Clawdbot Onboarding

This creates the base configuration.

  1. In the terminal, run:
Clawdbot onboard
  1. When prompted:
    • Select Yes for security warning
    • Choose Quick Start
  2. Model provider:
    • Select Skip for now
  3. Default model:
    • Keep the default (Cloud Opus 4.5)
  4. Channel selection:
    • Select Skip for now
  5. Skills:
    • Select No
  6. Hooks:
    • Select Skip
  7. Gateway service:
    • Allow it to start

At the end, Clawdbot is installed and configured locally.

You may see a browser open with an error. This is expected at this stage.


Step 4: Pull an Ollama Model

Clawdbot needs a local model from Ollama.

Recommended models from the raw content:

  • GLM 4.7
  • Qwen Coder
  • GPT-OSS 20B or 120B

Example using GLM 4.7:

ollama pull glm4.7

Wait for the download to complete.


Step 5: Launch Clawdbot with Ollama

Now connect Ollama to Clawdbot.

  1. Open a new terminal window
  2. Run:
ollama run glm4.7
  1. In another terminal window, run:
Clawdbot launch
  1. When prompted:
    • Select GLM 4.7
    • Confirm with Y

Clawdbot now registers the Ollama model.


Step 6: Verify Configuration File

Clawdbot updates its config automatically.

Check this file:

C:\\Users\\<your-username>\\Clawdbot\\Clawdbot.json

Inside, you should see:

  • The Ollama provider
  • GLM 4.7 listed as an available model

This confirms successful integration.


Step 7: Start the Clawdbot Gateway

The gateway runs the web dashboard.

Check status:

Clawdbot gateway status

If not running, start it manually:

Clawdbot gateway --port 18789 --verbose

Step 8: Open the Clawdbot Web Interface

  1. Open your browser
  2. Go to:
<http://localhost:18789>

You should see:

  • Clawdbot dashboard
  • Health status showing OK
  • Left sidebar with Overview, Sessions, Channels, Skills, Cron Jobs

Step 9: Start Your First Session

  1. Click New Session
  2. Type:
hi

Clawdbot will respond with an onboarding message asking:

  • Who you are
  • What it should be called

This confirms everything is working.


Step 10: Understanding the Interface

Sessions

  • Every chat runs as a session
  • Sessions keep memory and logs

Channels

  • Optional integrations for Telegram, WhatsApp, Discord
  • Can be added later

Cron Jobs

  • Schedule tasks like:
    • Email summaries
    • Daily checks
    • Automated workflows

Skills

  • Extend Clawdbot abilities
  • Install later when needed

Logs

  • See everything Clawdbot executes
  • One terminal shows all activity

Important Security Notes (Do Not Skip)

Clawdbot:

  • Executes commands
  • Reads files
  • Browses the web
  • Acts autonomously

Best practices:

  • Do not connect personal email
  • Do not give password vault access
  • Use separate accounts
  • Prefer read-only permissions
  • Treat it like a virtual assistant with system access

Running locally or on a VPS limits damage if something goes wrong.


Finally

You now have:

  • Clawdbot running locally
  • Ollama powering the AI
  • No cloud dependency
  • Full control and visibility
  • Zero cost setup

If you want next guides, like:

  • Telegram integration
  • Cron automations
  • Skills setup
  • VPS deployment

Say the word and I’ll do it properly, step by step.

Author
Written By
Vikash Kumar
Building AI agents, n8n workflows and end-to-end automation for 30+ Brands across India, the US, Europe, Dubai & Australia. 7+ years of Experience saving founders real hours every week - no code required.
Ask more Questions about this Blog with AI:

Our AI Articles

Learn from our AI Articles to excel in your profession ;)

SLAY Framework: Lara Acosta’s LinkedIn Templates

Learn Lara Acosta's SLAY framework (Story, Lesson, Actionable, You) with real LinkedIn post templates and a step-by-step guide for beginners....

The LinkedIn SLAY Framework Explained Step by Step (With Real Post Examples)

Most LinkedIn posts fail for the same reason. They either read like a press release, sound like a motivational poster,...

What Is n8n? A Simplest-English Guide for Non-Technical People

What is n8n? This plain-English guide explains it simply for beginners — what it does, how it works, and why...

Build an AI Agent in n8n: Beginner Step-by-Step Guide (2026)

Learn to build your first n8n AI agent step by step with no code. This beginner guide covers the AI...

n8n on Hostinger VPS: The Complete Beginner Setup Guide (2026)

Learn how to deploy n8n on a Hostinger VPS step by step. A beginner-friendly 2026 guide with no Linux or...

n8n Webhook Tutorial: Trigger Any Automation from Anywhere (2026)

Learn how to set up n8n webhooks step by step. This beginner guide covers triggers, test vs production mode, security...

n8n Pricing 2026: Free Self-Hosted vs Cloud Costs Explained

n8n pricing broken down for 2026: every Cloud plan cost, real self-hosted server prices, and how to pick the option...

n8n MCP: How to Connect AI Agents to Any Tool (2026)

n8n MCP lets your AI agent connect to any tool through one shared standard, no custom code needed. Here is...

Lara Acosta LinkedIn Templates and Hooks (2026 Examples)

Copy Lara Acosta LinkedIn templates and hook examples, plus the SLAY framework, to write posts that get read. A simple...

n8n Docker Setup: Install n8n the Easy Way (2026 Guide)

Learn how to install n8n with Docker step by step. A beginner-friendly 2026 guide to run n8n on your own...

How to Self Host n8n for Free: The Beginner VPS Setup Guide (2026)

The n8n cloud version has a free trial that runs out. After that, you pay a monthly fee for every...

10 Best n8n Workflows Every Business Should Automate

Manual work is killing business speed. In 2026, companies that still copy-paste data between apps are already behind. This is...

1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.