Skip to content

CLI toolFreeIntermediate

Repomix

Packs a whole code project into one file you can hand to an AI chat assistant

View original on GitHub

Install request

Your browser blocked copying. Select the text and copy it yourself.

Paste this into your AI agent (Claude Code, Codex or similar). It asks the agent to read the files and wait for your OK before installing.

A packed Repomix output file attached to an AI chat, with a request to review the code before refactoring
An AI chat answering a request to add tests, using the code from a packed Repomix file
Image: Kazuki Yamada (MIT). Original file

What it does

Repomix is a command-line tool that combines every file in a code project into a single file shaped for AI assistants. You run one command in a project folder, or give it a GitHub link; it skips ignored files, leaves out files that look like credentials and shows a token count. You then upload the file to Claude, ChatGPT or another assistant and ask about the code. It suits anyone who wants an AI to read a whole codebase at once.

One command turns a whole repository into one AI-ready file, and the same packing also works on the official website without installing anything.

Before you start

  • A computer with macOS, Windows, Linux or a web browser.
  • Node.js on your computer for the command-line version
  • An AI chat assistant, such as Claude or ChatGPT, to send the packed file to
  • Free. Nothing to pay.

How to start

  1. Install itPaste the install request into an AI agent you already use, or run the official command yourself or follow the official guide.macOS, Windows, Linuxnpm install -g repomix

    Install command

    Your browser blocked copying. Select the text and copy it yourself.

    This is the official install command, copied from the creator's instructions. Paste it where the instructions say.

    macOS, Linuxbrew install repomix

    Install command

    Your browser blocked copying. Select the text and copy it yourself.

    This is the official install command, copied from the creator's instructions. Paste it where the instructions say.

  2. Set it upFollow the first-run steps in the official guide.
  3. Give it a first taskDescribe what you want in your own words, and check the first result before relying on it.

Steps follow the creator's instructions.

Stuck setting it up?

Tell us what happened. We confirm scope and price before any paid work.

Get help
View original

Install request

Your browser blocked copying. Select the text and copy it yourself.

Paste this into your AI agent (Claude Code, Codex or similar). It asks the agent to read the files and wait for your OK before installing.