Main Menu
  • Tools
  • Developers
  • Topics
  • Discussions
  • News
  • Blogs
  • Builds
  • Contests
Create
    EveryDev.ai
    Sign inSubscribe
    Home
    Tools

    1,850+ AI tools

    • New
    • Trending
    • Featured
    • Compare
    Categories
    • Agents891
    • Coding869
    • Infrastructure377
    • Marketing357
    • Design302
    • Research276
    • Projects271
    • Analytics266
    • Testing160
    • Integration157
    • Data150
    • Security131
    • MCP125
    • Learning124
    • Extensions108
    • Communication107
    • Prompts100
    • Voice90
    • Commerce89
    • DevOps70
    • Web66
    • Finance17
    1. Home
    2. Tools
    3. claude.sh
    claude.sh icon

    claude.sh

    Command Line Assistants

    Claude Code rewritten as a ~1,500-line bash script with zero npm dependencies, using only curl and jq to interact with the Anthropic API.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Fully free and open-source bash script. Requires your own Anthropic API key.

    Engagement

    Available On

    macOS
    Linux
    API
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Command Line AssistantsAI Coding AssistantsVibe Coding

    Alternatives

    Warp CodeAmpCursor CLI
    Developer
    jdcodes1

    Listed Apr 2026

    About claude.sh

    claude.sh is a minimal, dependency-free reimplementation of Claude Code as a single bash script. It replaces ~380,000 lines of TypeScript and 266 npm packages with roughly 1,500 lines of shell script, requiring only curl and jq. The tool provides a full REPL loop for interacting with Claude models, including real-time streaming, tool execution, and session management — all with instant startup and no Node.js runtime.

    • Real-time streaming via FIFO pipe so text appears as Claude generates it, providing a responsive interactive experience
    • 6 built-in tools (Bash, Read, Edit, Write, Glob, Grep) enabling Claude to read, write, and search files and run shell commands
    • Tool chaining supports up to 25 tool calls per turn, allowing complex multi-step tasks
    • Permission prompting asks before running non-safe commands, with y/n/a options and configurable permission modes (ask, allow, deny)
    • CLAUDE.md loading reads project instructions from CLAUDE.md files up the directory tree for project-aware context
    • Git-aware context injects branch name, status, and recent commits into the system prompt automatically
    • Session save/resume auto-saves conversations on exit and allows resuming by ID or interactive list
    • Retry with backoff handles 429/529 rate limit errors with exponential backoff
    • Cost tracking displays per-turn and session token cost totals
    • Slash commands including /help, /cost, /model, /clear, /save, /resume, /commit, and /diff
    • Pipe mode allows non-interactive use: echo "explain this" | ./claude.sh
    • Modular architecture split across api.sh, json.sh, tools.sh, and tui.sh for maintainability

    To get started, clone the repository, make the script executable with chmod +x claude.sh, set your ANTHROPIC_API_KEY environment variable, and run ./claude.sh. Optionally install ripgrep for better search and python3 for the edit tool.

    claude.sh - 1

    Community Discussions

    Be the first to start a conversation about claude.sh

    Share your experience with claude.sh, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Fully free and open-source bash script. Requires your own Anthropic API key.

    • Full REPL loop
    • 6 built-in tools
    • Session save/resume
    • Real-time streaming
    • Cost tracking

    Capabilities

    Key Features

    • Real-time streaming via FIFO pipe
    • 6 tools: Bash, Read, Edit, Write, Glob, Grep
    • Tool chaining up to 25 calls per turn
    • Permission prompting before non-safe commands
    • CLAUDE.md project instruction loading
    • Git-aware context injection
    • Session save and resume
    • Exponential retry on rate limits
    • Per-turn and session cost tracking
    • Slash commands (/help, /cost, /model, /clear, /save, /resume, /commit, /diff)
    • Pipe mode for non-interactive use
    • Configurable model and token limits via environment variables

    Integrations

    Anthropic Claude API
    curl
    jq
    ripgrep (optional)
    python3 (optional)
    git
    API Available
    View Docs

    Reviews & Ratings

    No ratings yet

    Be the first to rate claude.sh and help others make informed decisions.

    Developer

    jdcodes1

    Read more about jdcodes1
    GitHub
    1 tool in directory

    Similar Tools

    Warp Code icon

    Warp Code

    Agentic coding inside Warp's terminal: code editor, diff-first review, codebase indexing, and multi-agent control with top LLMs (GPT-5, Claude, Gemini).

    Amp icon

    Amp

    Agentic coding tool built by Sourcegraph that provides autonomous reasoning, comprehensive code editing, and complex task execution in VS Code, Cursor, Windsurf, and CLI.

    Cursor CLI icon

    Cursor CLI

    Terminal-based Cursor Agent you can run interactively or headless to write, review, and modify code from any shell or CI system.

    Browse all tools

    Related Topics

    Command Line Assistants

    AI-powered command-line assistants that help developers navigate, search, and execute terminal commands with intelligent suggestions and context awareness.

    103 tools

    AI Coding Assistants

    AI tools that help write, edit, and understand code with intelligent suggestions.

    346 tools

    Vibe Coding

    Vibe code using low code AI tools that let you build applications with natural language prompts with minimal code.

    115 tools
    Browse all topics
    Back to all tools
    Explore AI Tools
    • AI Coding Assistants
    • Agent Frameworks
    • MCP Servers
    • AI Prompt Tools
    • Vibe Coding Tools
    • AI Design Tools
    • AI Database Tools
    • AI Website Builders
    • AI Testing Tools
    • LLM Evaluations
    Follow Us
    • X / Twitter
    • LinkedIn
    • Reddit
    • Discord
    • Threads
    • Bluesky
    • Mastodon
    • YouTube
    • GitHub
    • Instagram
    Get Started
    • About
    • Editorial Standards
    • Corrections & Disclosures
    • Community Guidelines
    • Advertise
    • Contact Us
    • Newsletter
    • Submit a Tool
    • Start a Discussion
    • Write A Blog
    • Share A Build
    • Terms of Service
    • Privacy Policy
    Explore with AI
    • ChatGPT
    • Gemini
    • Claude
    • Grok
    • Perplexity
    Agent Experience
    • llms.txt
    Theme
    With AI, Everyone is a Dev. EveryDev.ai © 2026