Black Friday sale: 85 Claude Code agents for $29 one-time · lifetime updatesGet access →
Setup·Updated ·9 min read

Free Claude Code on GitHub: What the Repo Does and How to Set It Up

By Shubhranshu, creator of claudeagents · Last reviewed

"Free Claude Code" on GitHub usually means the Alishahryar1/free-claude-code repo, an open-source proxy with about 73,000 stars. It lets you use the Claude Code app for free by sending your requests to free models from NVIDIA NIM, OpenRouter, Groq, Gemini or local Ollama. It does not give you Claude models for free. You get the Claude Code interface with a different model behind it.

Repo link: github.com/Alishahryar1/free-claude-code. That is a useful trick, and it's legal. It's also widely misunderstood. Many people install it expecting free Opus or Sonnet, then wonder why the answers feel different.

This guide explains what the repo does, how to set it up step by step, how good the free models really are, what to check before you run an install script from GitHub, and when paying for real Claude is the better deal. Everything was checked against the repo's README and the GitHub API on 26 November 2026.

What is the free-claude-code GitHub repo?

Claude Code is the app. Claude (Opus, Sonnet, Haiku) is the model it normally talks to. Free Claude Code (FCC) sits in between, as a small server on your own computer. Claude Code sends its requests to FCC, and FCC forwards them to whichever model you picked.

The free-claude-code repo at a glance (GitHub, 26 Nov 2026)
Details
Repogithub.com/Alishahryar1/free-claude-code
Stars / forksAbout 73,000 / 11,000
LicenceAGPL-3.0
Made byAn independent developer, not Anthropic
Works withClaude Code, Codex, OpenCode, Cline, Aider, VS Code Chat and more (12 tools)
Providers61, including NVIDIA NIM, OpenRouter, Groq, Gemini, DeepSeek, Ollama, LM Studio
Default modelNVIDIA Nemotron (nemotron-3-ultra-550b-a55b) via NVIDIA NIM
Runs onmacOS, Linux and Windows. Phone use via a Discord or Telegram bot

The README claims "1.3B+ free tokens per month" across all providers' free tiers combined, and notes that free-tier limits are set by each provider and can change. Treat that number as the total of many separate small allowances, not one big free plan.

Free Claude Code vs real Claude: the honest catch

This is the part most YouTube videos skip. With FCC on a free provider, you are not using Claude. Claude Code's menus still say Opus, Sonnet and Haiku, but FCC routes each of those names to whatever model you chose.

What changes when you use FCC with a free model
Claude Code + Claude (paid)Claude Code + FCC + free model
CostFrom $20/month, or pay per token$0 within free tiers
ModelClaude Opus, Sonnet, HaikuNemotron, Llama, Qwen, DeepSeek, Gemini and others
Quality on long coding tasksStrong. Claude Code is built and tested for itVaries a lot by model. Weaker tool use is common
Limits5-hour and weekly plan limitsEach provider's own rate limits
Your code goes toAnthropicWhichever provider you picked
SupportAnthropicCommunity, via GitHub issues

Claude Code's agents, subagents, skills and slash commands still work, because they're features of the app. How well they work depends on how good the model is at following instructions and calling tools.

Step 1: install free Claude Code from GitHub

These steps follow the repo's README. The README uses a one-line curl … | sh install. A safer habit with any script from GitHub is to download it, read it, then run it. The installer can also install Claude Code for you, and asks which coding tools to set up. Pick at least Claude Code.

Install (macOS / Linux, then Windows)
# macOS / Linux: read the script first
curl -fsSL "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install.sh" -o fcc-install.sh
less fcc-install.sh
sh fcc-install.sh

# Windows PowerShell (from the README)
& ([scriptblock]::Create((irm "https://raw.githubusercontent.com/Alishahryar1/free-claude-code/main/scripts/install.ps1")))

On Windows, open the install.ps1 URL in your browser to read it before running the PowerShell line.

Step 2: add a free NVIDIA NIM key and pick a model

  1. Create a free API key at build.nvidia.com (Settings → API keys).
  2. Start FCC. On macOS and Windows open the Free Claude Code app. On Linux run fcc-server. The Admin UI opens in your browser.
  3. Go to Providers → NVIDIA NIM, click Add key, paste the key and click Save.
  4. Keep the default model or pick another in the MODEL dropdown, then click Apply.
  5. Optional: turn on Proxy Authentication so only you can use the local proxy.

To use a different provider (OpenRouter, Groq, Gemini and others), add its key under Providers in the same way and pick one of its models. For local models, start Ollama or LM Studio first, then click Refresh models.

Step 3: run Claude Code through free models

Inside Claude Code, the /model picker shows your FCC models. You can also send Opus, Sonnet and Haiku requests to different models under Model Config, for example a stronger model for opus and a fast one for haiku. That works well with subagents that pick their own model.

FCC also connects to the Claude Code extension in VS Code and to JetBrains: open Admin UI → Integrations and click Connect.

Start Claude Code with FCC
# Linux: start the local server (macOS/Windows: open the "Free Claude Code" app)
fcc-server

# Then, in another terminal, start Claude Code through it
fcc-claude

To keep it working:

Update, troubleshoot or uninstall

The README has uninstall scripts for macOS, Linux and Windows. They remove FCC and ~/.fcc/ but leave Claude Code and your other tools installed.

Useful FCC commands
fcc-server --version   # check the installed version
fcc-update             # update to the latest release
fcc-doctor             # print diagnostics for a bug report

Free Claude Code on Android and Termux

People search for "free claude code github termux" and "for android". The FCC README doesn't document a Termux install. What it does offer is phone use through a Discord or Telegram bot: FCC runs on your computer, and you send it coding tasks (including voice notes) from your phone. Set it up under Admin UI → Messaging, and set an Allowed Directory so the bot can only touch one folder.

If you see a video promising "Claude Code free on Android in one command", check whether it actually runs Claude, or just a free model behind the Claude Code app.

Is free-claude-code safe?

It's a popular, actively updated open-source project, which is a good sign, but popularity isn't a security review. Before you install it:

  • Read the install script. It installs Python tools with uv and, by default, several coding agents from their own official URLs. Know what you're running.
  • Use separate API keys. Create new keys just for FCC, so you can revoke them on their own.
  • Think about where your code goes. Every prompt and file Claude Code reads is sent to the provider you picked. Some free tiers may use your data. Read each provider's terms, and don't use it on employer code without permission.
  • Keep the proxy private. Turn on Proxy Authentication and don't expose port 8082 to the internet.
  • Watch for fakes. Only use github.com/Alishahryar1/free-claude-code. Copies and "cracked Claude Code" downloads are a common way to spread malware.

Is it against Anthropic's terms?

FCC doesn't unlock Claude models or share anyone's account. It points the Claude Code app at other providers, which Claude Code allows through standard settings. If you add your own paid Anthropic key, you pay Anthropic's normal API rates. Anthropic doesn't support non-Claude models in Claude Code, so if something breaks, ask in the FCC repo's issues, not Anthropic support.

The README says FCC follows each provider's terms and removes integrations that stop being allowed. Some providers, like Kimi Code and QwenCloud's Coding Plan, limit their plans to personal, interactive use, so check before using them in scripts or CI.

Other "Claude Code" GitHub repos worth knowing

Popular Claude Code repos on GitHub (26 Nov 2026)
RepoWhat it isFree?
anthropics/claude-codeThe official Claude Code repo: issues, changelog, plugins. About 157k starsFree to install. Needs a paid Claude plan or API key
anthropics/claude-code-actionOfficial GitHub Action. Mention @claude in a PR or issue and it works on it. MIT licenceThe action is free. Model use is billed to your key or plan
Alishahryar1/free-claude-codeProxy that runs Claude Code on other providers' modelsFree with free-tier providers
Free subagent collectionsFolders of community-written agents for .claude/agents/Free. Quality varies, so read each file

Want to compare free agent collections with a paid kit? We wrote an honest claudeagents vs free GitHub subagents comparison.

When free Claude Code is worth it, and when to pay

Use FCC if…

  • You want to learn how Claude Code works before paying.
  • You're a student or hobbyist with no budget.
  • You already pay for another provider (Copilot, ChatGPT, Gemini) and want Claude Code's interface on top.
  • You want to run local models for privacy.

Pay for real Claude if…

  • You do real work where wrong code costs you time or money.
  • You run long, multi-step tasks, where tool-use quality matters most.
  • You want official support and predictable limits.

Not sure? Read is Claude Code worth it for real costs and a one-week test, and is Claude Code free for every other free or cheap option, including the official guest pass and pay-as-you-go API.

Get more out of Claude Code, free or paid

Weaker models need clearer instructions, so setup matters even more on a free model. Write a CLAUDE.md with your stack and rules, and give each job to a focused subagent with a short checklist.

If you'd rather start with a tested setup, claudeagents is 85 ready-made agents, 52 skills and 53 slash commands for coding, SEO and marketing. They're plain Markdown files and work with any model Claude Code runs on. They work best with Claude.

Frequently asked questions

What is free-claude-code on GitHub?

An open-source project by Alishahryar1 that runs a local proxy so the Claude Code app can use models from other providers, many with free tiers. It isn't made by Anthropic.

Does free-claude-code give you Claude Opus or Sonnet for free?

No. It gives you the Claude Code app for free with other models behind it, like NVIDIA Nemotron, Llama, Qwen or Gemini. To use real Claude models you need a paid plan or API key.

Is the free Claude Code GitHub repo safe?

It's popular and open source, but read the install script first, use separate API keys, turn on proxy authentication, and remember your code is sent to whichever provider you choose.

How do I use free Claude Code with NVIDIA?

Create a free key at build.nvidia.com, add it under Providers → NVIDIA NIM in the FCC Admin UI, pick a model, click Apply, then run fcc-claude.

Can I use free Claude Code on Android or Termux?

The README doesn't document Termux. It supports phone use through a Discord or Telegram bot that sends tasks to FCC running on your computer.

Is the official Claude Code GitHub repo free?

Installing Claude Code is free, and anthropics/claude-code is the official repo. Using it with Claude needs a paid plan (from $20/month) or a pay-as-you-go API key.

Is free Claude Code against Anthropic's terms?

FCC doesn't unlock Claude or share accounts. It points Claude Code at other providers. Anthropic doesn't support non-Claude models, and each provider's own terms still apply.

Sources

Skip the setup: get 85 ready-made agents

Coding, SEO and marketing kits for Claude Code, with 52 skills and 53 slash commands. $29 one-time, lifetime updates.

See what's included →

Keep reading