This is a variation of the open source claude code - Open claude, but this one allows you to use ANY AI Model of your choice.
Hire me for projects: https://innosparkmedia.com/
The video demonstrates OpenCloud, an open-source replica of Claude Code, which allows developers to run powerful AI coding agents locally. This bypasses previous application programming interface restrictions, enabling use with models like Gemini Flash or Ollama for free. Learn how to run ai locally with this innovative solution.
OpenClaude Installation Guide (Mac & Windows)
Follow this step-by-step guide to install and run OpenClaude on your system.
Important Links:
NodeJS: https://nodejs.org/en/download
Bun: https://bun.com/docs/installation
OpenRouter: https://openrouter.ai/
GitHub Repo: https://github.com/Gitlawb/openclaude
Mac Installation
1. Download Source Code
Download the OpenClaude source code ZIP file.
2. Choose Installation Location
Select a permanent folder (recommended: Applications folder). Do not move it later.
3. Extract Files
Unzip the file and place all contents inside your chosen folder.
4. Install Dependencies
Install Node.js from https://nodejs.org/en/download
Install Bun from https://bun.com/docs/installation
5. Setup Project
Open the project folder in VS Code, Cursor, or Antigravity and run:
npm install
npm run build
npm link
This will install dependencies, build the project, and create a global openclaude command.
6. Create Test Folder
Create a new folder and open it in your IDE.
7. Set Environment Variables
Paste this in your terminal (replace with your API key):
export CLAUDE_CODE_USE_OPENAI=1
export OPENAI_BASE_URL="https://openrouter.ai/api/v1"
export OPENAI_API_KEY="YOUR_OPENROUTER_KEY"
export OPENAI_MODEL="google/gemini-3-flash-preview"
8. Run OpenClaude
openclaude
Windows Installation
1. Download Source Code
Download the OpenClaude ZIP file.
2. Choose Installation Location
Select a permanent folder.
3. Extract Files
Unzip and move files into that folder.
4. Install Dependencies
Install Node.js from https://nodejs.org/en/download
Install Bun from https://bun.com/docs/installation
5. Enable Script Execution
Open PowerShell as Administrator and run:
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
6. Setup Project
Open the folder in VS Code or Cursor (run as Administrator) and run:
npm install
npm run build
npm link
7. Create Test Folder
Open a new test folder in your IDE.
8. Set Environment Variables
Paste in PowerShell:
$env:CLAUDE_CODE_USE_OPENAI="1"
$env:OPENAI_BASE_URL="https://openrouter.ai/api/v1"
$env:OPENAI_API_KEY="YOUR_OPENROUTER_KEY"
$env:OPENAI_MODEL="openrouter-model-name"
9. Run OpenClaude
openclaude
Troubleshooting
Make sure Node.js and Bun are installed correctly
Run terminal as Administrator on Windows
If errors occur, copy and paste them into ChatGPT or Gemini
Tips
Use OpenRouter for multiple AI models
Switch models anytime using /exit
Keep your API key secure
Restart terminal if environment variables do not work
If this helped, like, share, and subscribe
---------------------------------------------------------------------------------------------------------------------------------------
🔥 Any Paid Promotion or Collobration mail me : [email protected]
💻 Any Freelancing Work : [email protected]
---------------------------------------------------------------------------------------------------------------------------------------
👇👇🫶Follow us on🫶👇👇:
❤️😍Checkout for Creating Websites or Graphics😍❤️
https://innosparkmedia.com/
❤️😍Join Our Discord Server😍❤️
/ discord
❤️😍Join Our Telegram Group😍❤️
https://t.me/procoder09
🔥follow me on LinkedIn
/ ritesh-ranjan09
📂follow us on github
https://github.com/ritesh-0309
📷 Follow us on Instagram
/ procoder09
🌏Visit our website
https://www.procoder09.com/
▶ Subscribe Our Channel
/ @procoder09
Chapters:
0:00 - Claude Code Source Leaked (Run ANY AI Model for Free!)
0:29 - Step 1: Installing Node.js & Bun (Prerequisites)
1:08 - Step 2: Downloading the OpenClaude Leaked Source Code
1:36 - Step 3: Compiling OpenClaude via VS Code Terminal
2:14 - Step 4: Connecting OpenRouter API (Bypass Anthropic Limits)
2:56 - Live Coding Test: Building a Website with Gemini Flash
3:49 - The Reality Check: Is OpenClaude Ready for Production?
4:24 - Best Claude Code Alternative: Lovable AI (Free Credits)
openclaude,open claude,open claude code,openclaude ollama,open claude install
#claudecode #openclaw #opensource