{"id":51300,"date":"2026-03-20T09:36:54","date_gmt":"2026-03-20T01:36:54","guid":{"rendered":"https:\/\/www.1ai.net\/?p=51300"},"modified":"2026-03-19T15:38:44","modified_gmt":"2026-03-19T07:38:44","slug":"%e5%ae%89%e8%a3%85openclaw%e5%b0%8f%e7%99%bd%e6%95%99%e7%a8%8b%ef%bc%8copenclaw%e5%9f%ba%e7%a1%80%e7%af%87%e6%95%99%e5%ad%a6","status":"publish","type":"post","link":"https:\/\/www.1ai.net\/en\/51300.html","title":{"rendered":"Installation of openclaw little white course, OpenClaw basic course"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-51301\" title=\"20da32e8j00tc4xk0047d000iw007kp\" src=\"https:\/\/www.1ai.net\/wp-content\/uploads\/2026\/03\/20da32e8j00tc4xzk0047d000iw007kp.jpg\" alt=\"20da32e8j00tc4xk0047d000iw007kp\" width=\"680\" height=\"272\" \/><\/p>\n<p>This is us<a href=\"https:\/\/www.1ai.net\/en\/tag\/openclaw%e6%95%99%e5%ad%a6\" title=\"[sees articles with [openclaw teaching] labels]\" target=\"_blank\" rel=\"noopener\">openclaw teaching<\/a>First one, you can code first, then three to five more, and then you can use it at the top<\/p>\n<p><strong>First, let's get this straight <a href=\"https:\/\/www.1ai.net\/en\/tag\/openclaw\" title=\"[See articles with [OpenClaw] label]\" target=\"_blank\" rel=\"noopener\">OpenClaw<\/a> What is it<\/strong><\/p>\n<p>OpenClaw is essentially a locally run AI gateway<\/p>\n<p>Its structure is simple:<\/p>\n<p>{\\cHFFFFFF}{\\cH00FFFF} Your computer runs a Gateway process {\\cHFFFFFF}{\\cH00FFFF} {\\cHFFFFFF}{\\cH00FFFF} {\\cHFFFFFF}{\\cH00FFFF} {\\cHFFFFFF}{\\cH00FFFF} {\\cHFFFFFF} Gateway {\\cHFFFFFF}{\\cH00FFFF} {\\cHFFFFFF}{\\cH00FF00} {\\cHFFFFFF}{\\cH00FF00} {\\cHFFFFFF}{\\cH00FF00} {\\cHFFFFFF}{\\cH00FF00} {\\cHFFFFFF}{\\cH00FF00} {\\cHFFFFFF} {\\cHFFFF00} You send a Gateway to AI \\AI \\AI \\AIgram<\/p>\n<p>Why would you do that<\/p>\n<p>Because most of the AI services (Claude, GPT) do not directly provide Telegram robots, you use either the web version or the App<\/p>\n<p>But OpenClaw allows you to talk to AI in any chat software, and all memories and configurations are on your own computer (~\/.openclaw\/), without risk of privacy disclosure<\/p>\n<p><strong>Second, get ready for the prep<\/strong><\/p>\n<p><strong>1. Hardware and system requirements<\/strong><\/p>\n<p>Mac Users: Best Saved, Native Support MacOSWindows Users: WSL2 (Windows Subsystem for Linux) strongly recommends Ubuntu 22.04Linux Users: Directly<\/p>\n<p>If you want to hang up 24 hours, suggest:<\/p>\n<ul>\n<li>Mac Mini (most electricity, official recommendation)<\/li>\n<li>Cloud Server VPS (Digital Ocean 12 US$\/month, Hostinger is also available and domestic)<\/li>\n<\/ul>\n<p><strong>2. LARGE MODEL API READINESS<\/strong><\/p>\n<p>OpenClaw supports almost all mainstream models, but you need to be ready in advance<\/p>\n<p>Comparison of recommended programmes:<\/p>\n<p>ChatGPT Plus Subscription<\/p>\n<p>$20\/MONTH, OFFICIAL WHITE LIST SUPPORTED, MOST ECONOMICAL<\/p>\n<p>Coding Plan<\/p>\n<p>Qwen3-Max\/kimi k2.5<\/p>\n<p>OpenRouter (\u2b50\u2b50\u2b50\u2b50)<\/p>\n<p>BASED ON VOLUME, APPROXIMATELY $3-15\/DAY, MULTI-MODEL SWITCHING, SUITABLE FOR TESTING<\/p>\n<p>AI\/ML API (\u2b50\u2b50\u2b50\u2b50)<\/p>\n<p>Pays in volume, supports multiple models, OpenClaw official integrated partners<\/p>\n<p>Kimi K2.5 (\u2b50\u2b50\u2b50\u2b50)<\/p>\n<p>Pays by volume, and the dark side of the moon actively supports OpenClaw<\/p>\n<p>Transit stations (\u2b50\u2b50\u2b50)<\/p>\n<p>Cheap but unstable, high risk<\/p>\n<p>Ollama Local Model<\/p>\n<p>It's completely free, cost-free, but not effective, suitable for learning<\/p>\n<p>My suggestions:<\/p>\n<ul>\n<li>Start with OpenRouter or AI\/ML API, pay in volume, don't waste<\/li>\n<li>make sure it's a long-term one<\/li>\n<li>Don't get up to the stop. You don't know if it's a model or a configuration<\/li>\n<\/ul>\n<p><strong>3. Wallbreaking environment (important)<\/strong><\/p>\n<p>Telegram and Discord both need to cross the wall to connect<\/p>\n<p>You need:<\/p>\n<ul>\n<li>Clash Verge \/ Clash for Windows \/ Surge<\/li>\n<li>A stable airport node<\/li>\n<li>TURN ON TUN MODE (MANY PEOPLE FORGET, DON'T OPEN TUN MODE, TERMINAL CANNOT WALK AGENT)<\/li>\n<\/ul>\n<p>Validation method:<\/p>\n<p>i can't believe it<\/p>\n<p>If returned 200, indicate that your terminal can access Telegram API<\/p>\n<p><strong>The official installation will follow you<\/strong><\/p>\n<p>Step 1: Install Homebrew and Node.js<\/p>\n<p>Open Terminal with Homebrew:<\/p>\n<p>\/bin\/bash -c \"$(curl-fsSL)\"<\/p>\n<p>https:\/\/raw.githubusercontent.com\/Homebrew\/install\/HEAD\/install.sh<\/p>\n<p>Node.js:<\/p>\n<p>i'm going to tell you something<\/p>\n<p>Validation installation:<\/p>\n<p>node \u2013version # should show v22.x.x or higher<\/p>\n<p>npm -version<\/p>\n<p>Important: OpenClaw requires Node.js version 22, less than this version will be wrong<\/p>\n<p>Step 2: Install OpenClaw<\/p>\n<p>Recommended mode (official guide):<\/p>\n<p>quil-fssL bash https:\/\/openclaw.ai\/install.sh<\/p>\n<p>This script will automatically help you:<\/p>\n<ul>\n<li>Install OpenClaw CLI tool<\/li>\n<li>create profile directory (~\/.openclaw\/)<\/li>\n<li>Set Environment Variable<\/li>\n<\/ul>\n<p>Once installed, run:<\/p>\n<p>openclaw -version<\/p>\n<p>Seeing the version number means it's loaded<\/p>\n<p>Step 3: Start Configuration Wizard<\/p>\n<p>This is the most critical step:<\/p>\n<p>this is an openclaw on board-install-daemon<\/p>\n<p>\u2013install-daemon parameters allow OpenClaw to continue in the backstage, even if the computer is restarted<\/p>\n<p>And then you're going to go into an interactive wizard, in a few steps:<\/p>\n<p><strong>IV. The configuration process is where most people are stuck<\/strong><\/p>\n<p><strong>4.1 SELECTION OF AI MODEL PROVIDER<\/strong><\/p>\n<p>The wizard lists:<\/p>\n<ul>\n<li>OpenAI (GPT)<\/li>\n<li>i'm sorry<\/li>\n<li>&#8230;.<\/li>\n<li>Skip<\/li>\n<\/ul>\n<p>If you have an official account number: select the corresponding one, then jump through the browser<\/p>\n<p>If you use a third party API (OpenRouter, Transit etc.): Choose Skip<\/p>\n<p>After skipping, the wizard will continue<\/p>\n<p><strong>4.2 Select Chat Platform<\/strong><\/p>\n<p>The wizard will ask which platform you want to connect to:<\/p>\n<p>\u2022 Telegram (Bot API)<\/p>\n<p>Whatsapp (QR code)<\/p>\n<p>\u00b0 Discord (Bot API)<\/p>\n<p>Skip<\/p>\n<p>Why recommend Telegram:<\/p>\n<ul>\n<li>The simplest configuration (three minutes done)<\/li>\n<li>Bot creation without review<\/li>\n<li>Support long message and file transfer<\/li>\n<li>Full Bot Management Panel<\/li>\n<\/ul>\n<p>Discord for whom:<\/p>\n<ul>\n<li>There already is a team of Discord servers<\/li>\n<li>It takes a lot of people to work with<\/li>\n<li>Configure time approximately 10 minutes [7]<\/li>\n<\/ul>\n<p>Here we go first, Telegram<\/p>\n<p><strong>4.3 Create Telegram Bot<\/strong><\/p>\n<p>Open Telegram, search @BotFather<\/p>\n<p>send \/start start dialogue<\/p>\n<p>Then send in order:<\/p>\n<ol>\n<li>\/newbot<\/li>\n<li>Enter your Bot display name (e. g. my AI assistant)<\/li>\n<li>Enter Bot username (must end with _bot, e. g. ai_bot)<\/li>\n<\/ol>\n<p>After success, BotFather returns a Token format similar to:<\/p>\n<p>1234567890: ABCdefGHIjklMNOpqrsTUVwxyz<\/p>\n<p><strong>Copy this Token<\/strong>Back to the terminal. Paste in<\/p>\n<p><strong>4.4 Completion of initial configuration<\/strong><\/p>\n<p>The wizard will ask if you want to install Skills, for example:<\/p>\n<ul>\n<li>Web Search<\/li>\n<li>Mail Management<\/li>\n<li>Organisation<\/li>\n<li>File Operations<\/li>\n<\/ul>\n<p>The new guy suggested we skip first, wait for the basics to go through<\/p>\n<p>After the configuration is completed, the Wizard will automatically start Gateway:<\/p>\n<p>\u2022 Gateway started on http:\/\/127.0.0.1:18789<\/p>\n<p>Telegram channel conned<\/p>\n<p>Ready to chat!<\/p>\n<p><strong>CONFIGURE THIRD-PARTY AI MODELS<\/strong><\/p>\n<p>If you choose Skip in 4.1, now you need a manual configuration model (the following steps strongly recommend cursor and so on to be an assistant<\/p>\n<p>Method 1: Through Web UI Configuration (Recommended)<\/p>\n<p>Open browser, access:<\/p>\n<p>http:\/\/127.0.0.1:18789<\/p>\n<p>This is OpenClaw's control panel<\/p>\n<p>Click Settlings \u2192Models \u2192Add Projecter<\/p>\n<p>FILL IN YOUR API MESSAGE:<\/p>\n<ul>\n<li>Provider Name: Custom (e. g. openrouter)<\/li>\n<li>Base URL: Your API address<\/li>\n<li>Your key<\/li>\n<li>Model ID: Specific model name (e.g. claude-opus-4)<\/li>\n<\/ul>\n<p>After saving, texting test for Bot in Telegram<\/p>\n<p>Method 2: Directly edit configuration files<\/p>\n<p>Open profile:<\/p>\n<p>~\/.openclaw\/openclaw.json<\/p>\n<p>found models.providers section, add:<\/p>\n<p>{\u201cModels\u201d: {\u201cproviders\u201d: {\u201copenrouter\u201d: {\u201cbaseUrl\u201d: \u201chttps:\/\/openrouter.ai\/api\/v1\u201d, \u201capiKey\u201d: \u201cyour-api-key-here\u201d, \u201capi\u201d: \u201copenai-complements\u201d, \u201cmodels\u201d: [{id\u201d: \u201canthropic\/claude-opus-4\u201d, \u201cname\u201d: \u201cClaude Opus 4\u201d, \u201creasing\u201d: True}}, \u201cagents\u201d:}, {\u201cdefaults\u201d: {model: {primary\u201d: {openrouter\/antrope-opus-4}}<\/p>\n<p>Start again after saving<\/p>\n<p>openclaw present<\/p>\n<p>METHOD 3: USE AI\/ML API (OFFICIAL INTEGRATION)<\/p>\n<p>IF YOU USE AI\/ML API, YOU CAN USE THEIR SPECIAL VERSIONS DIRECTLY WHEN INSTALLED:<\/p>\n<p>@latest<\/p>\n<p>This version will automatically configure the AI\/ML API Skills<\/p>\n<p><strong>VI. CONFIGURE THE NETWORK AGENT SO THAT YOUR AI CAN ACCESS THE NETWORK<\/strong><\/p>\n<p>Bot didn't get back<\/p>\n<p>Confirm your proxy port<\/p>\n<p>Open Clash Verge, see:<\/p>\n<ul>\n<li>HTTP PORT (GENERALLY 7890)<\/li>\n<li>SOCKS5 PORT (GENERALLY 7891)<\/li>\n<\/ul>\n<p>Set Environment Variable<\/p>\n<p>edit shell profile:<\/p>\n<p># if with zsh (Mac Default)<\/p>\n<p>~ \/.zshrc<\/p>\n<p># if use bash<\/p>\n<p>~\/.bahrc<\/p>\n<p>Add at the end of the document:<\/p>\n<p>export http_proxy=http:\/\/127.0.0.1:7890<\/p>\n<p>export https_proxy=http:\/\/127.0.0.1:7890<\/p>\n<p>for example, all_proxy=socks5:\/\/127.0.0.1:7891<\/p>\n<p>Save and reload:<\/p>\n<p>~\/.zshrc # or ~\/.bashrc<\/p>\n<p>Restart OpenClaw:<\/p>\n<p>openclaw present<\/p>\n<p>Validation agent:<\/p>\n<p>Message to Bot in Telegram: Search OpenClaw for updates<\/p>\n<p>If you can return the result, indicate that the agent's configuration is successful<\/p>\n<p><strong>VII. PROGRESS CONFIGURATION MAKES AI REALLY USEFUL<\/strong><\/p>\n<p><strong>7.1 CONFIGURE PERSONALISED SOUL<\/strong><\/p>\n<p>OpenClaw supports custom AI character and behaviour rules<\/p>\n<p>Edit files:<\/p>\n<p>nono~\/.openlaw\/workspace\/SOUL.md<\/p>\n<p>Write your requests, for example:<\/p>\n<p># MY IAA ASSISTANT PERSONALISATION - CALL ME \"BOSS\" - RESPONDS STYLE: SIMPLICITY, NO BULLSHIT - EXPERTISE IN THE FIELD: PRODUCT DESIGN, TECHNICAL STRUCTURES, CONTENT CREATION - BAN: DON'T ACTIVE TALK, DON'T SAY \"SORRY\" THAT'S THE KIND OF TALK<\/p>\n<p>ONCE SAVED, AI WILL RETURN TO YOU WITH THIS SETUP<\/p>\n<p><strong>7.2 Security configuration (this must be done)<\/strong><\/p>\n<p>OpenClaw was warned by a safety researcher about the risks because of the overload<\/p>\n<p>Security measures that must be put in place:<\/p>\n<ol>\n<li>Limit API spending caps on your API provider backstage (OpenRouter\/Claude etc.) to a daily\/monthly budget cap<\/li>\n<li>enable sensitive operation to confirm edit configuration file, find tables section:<\/li>\n<\/ol>\n<p>{\u201ctools\u201d: {\u201cexec\u201d: {enabled\u201d: true, \u201capproval Required\u201d: true \/ \/ \/ need your confirmation before executing the command}, \u201cemail\u201d: {enabled\u201d: true, \u201capproval Required\u201d: true \/ \/ e-mail requires your confirmation }<\/p>\n<ol>\n<li>OpenClaw is not exposed to the public web Gateway default listening 127.0.0.1:18789, only in-house access, and never change to 0.0.0.0<\/li>\n<\/ol>\n<p><strong>VIII. CLASSING ISSUES<\/strong><\/p>\n<p><strong>Question 1: Bot doesn't reply<\/strong><\/p>\n<p>Quest steps:<\/p>\n<p># 1. Check whether Gateway is running openclaw status<\/p>\n<p># 2. View logbooks<\/p>\n<p># 3. Test model connection openclaw anent \u2013message \"test\" -thining high<\/p>\n<p>If logs see ECONNREFUSED or timeout, it's a web-based proxy problem<\/p>\n<p>If you see 401 Unauthorized, it's API Key error<\/p>\n<p>If you see arate limitt, it's your API level<\/p>\n<p><strong>Question 2: Port occupied<\/strong><\/p>\n<p>Error: listen EADDRINUE: address already in use #18789<\/p>\n<p>Resolve:<\/p>\n<p># PROCESS OF FINDING PORT OF OCCUPATION<\/p>\n<p>lsof-i:18789<\/p>\n<p># KILL PROCESS (PID IS THE LAST AVAILABLE NUMBER)<\/p>\n<p>you know, kill-9 on the ped<\/p>\n<p># Restart OpenClaw<\/p>\n<p>openclaw present<\/p>\n<p>&lt;\/pid&gt;<\/p>\n<p><strong>Question 3: Telegram pair failed<\/strong><\/p>\n<p>If Bot creates but does not match:<\/p>\n<p># VIEW PAIRING<\/p>\n<p>openclaw calling list<\/p>\n<p># MANUAL APPROVAL PAIR<\/p>\n<p>your Telegram User ID<\/p>\n<p>Your User ID can be retrieved from Telegram@userinfobot<\/p>\n<p><strong>IX. COSTS AND POSITION RECOMMENDATIONS<\/strong><\/p>\n<p>We'll talk about the cost<\/p>\n<p><strong>Minimum cost scenario<\/strong>(approximately 30 yuan\/month):<\/p>\n<ul>\n<li>Ollama Local Model<\/li>\n<li>Telegram<\/li>\n<li>My own computer is on 24 hours a day<\/li>\n<li>Total: 20-30 yuan\/month<\/li>\n<\/ul>\n<p><strong>Price-for-money scheme<\/strong>(approximately 150 yuan\/month):<\/p>\n<ul>\n<li>OpenRouter Pays by Volume (approximately $100\/month, light)<\/li>\n<li>Telegram (free of charge)<\/li>\n<li>CLOUD SERVER VPS (APPROXIMATELY 50 YUAN\/MONTH)<\/li>\n<li>Total: 150 yuan\/month<\/li>\n<\/ul>\n<p><strong>The Too programme<\/strong>(approximately $1,000 per month):<\/p>\n<ul>\n<li>direct to claude api<\/li>\n<li>Mac Mini local running (one-time input of $3000)<\/li>\n<li>Total: First month 4000+, follow-up 1000+\/month<\/li>\n<\/ul>\n<p>My advice: run for a week or two, make sure you really use it, and then think about promotion<\/p>\n<p><strong>It's written at the end<\/strong><\/p>\n<p>OpenClaw's core value is not another AI chat tool<\/p>\n<p>It's to shorten the process of \"open the browser to log in and copy the results\" to \"send a message at Telegram\"<\/p>\n<p>This is the productivity tool that super-individuals need: seamless, ready, continuous memory<\/p>\n<p>But it's not all-powerful either. Current problems include:<\/p>\n<ul>\n<li>It's too fast to update<\/li>\n<li>Skills, of mixed quality, some with security risks<\/li>\n<li>Configure complexity is not very friendly to white<\/li>\n<\/ul>\n<p>But none of this prevents it from becoming the most promising open source project in 2026<\/p>\n<p>If you have problems, don't give up<\/p>\n<p>Claude Code or GitHub in OpenClaw<\/p>\n<p>THE TECHNOLOGY IS ALWAYS FOR PEOPLE<\/p>","protected":false},"excerpt":{"rendered":"<p>This is the first one of our openclaw teachings, where you can click first, and the next three-to-fives of the plan will be written, with a detailed use of middle-to-high-level, first, to find out what OpenClaw is, essentially, a locally run AI gateway, and its structure is simple: {\\cHFFFFFF}{\\cH00FFFF} Your computer runs a Gateway process {\\cHFFFFFF}{\\cH00FFFF} {\\cHFFFFFF}{\\cH00FF00} {\\cHFFFFFF}{\\cH00FFFF} {\\cHFFFFFF}{\\cH00FFFF} {\\cHFFFFFF}{\\cH00FF00} {\\cHFFFFFF}{\\cH00FF00} {\\cHFFFFFF} Getway {\\cHFFFFFF}{\\cH00FF00} {\\cHFFFFFF}{\\cH00FF00} {\\cHFFFFFF}{\\cH00FF00} {\\cHFFFFFF} Getaway {\\cHFFFFFF}{\\cH00} {\\cHFFFFFF} {\\cHFFFFFF} Getway {\\cHFFFF00} Connect to your chat software (Telegram\/ Discord\/ Whatsapp) {\\cH0000000000} Connect to the AI {\\3030300000} {\\cH0000000000} You send a message from Telegram<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[149,144],"tags":[8229,8392],"collection":[8384],"class_list":["post-51300","post","type-post","status-publish","format-standard","hentry","category-jiaocheng","category-baike","tag-openclaw","collection-openclaw"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/51300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/comments?post=51300"}],"version-history":[{"count":0,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/posts\/51300\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/media?parent=51300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/categories?post=51300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/tags?post=51300"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/www.1ai.net\/en\/wp-json\/wp\/v2\/collection?post=51300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}