bit CLI

The tool that sets up and looks after your project. Your AI runs it for you.

bit CLI creates your bit Fabric project, gets it running on any computer, makes its keys and secrets for going live, and checks that a change won't break the app your users already have. Your project's skills tell your AI agent when to run each command, so you rarely type one yourself.

Your AI agent
  1. Set up our project on this computer.

    bit setup https://github.com/you/your-app

    Done. Your app is running, and open in your browser.

  2. Products need a rating, from 1 to 5.

    bit migration add AddProductRating

    Added: the rating, its database change and its tests.

What it does for you Copier le lien vers cette section

Each command does one job for your project, from creating it to keeping it current.

Start

Your project, on any computer, running.

  • Creates your project

    Makes your project on your computer with all it needs: the developer tools, the first build, git, and your app running, open in your browser.

    bit new
  • Gets it ready on any computer

    Readies a project that already exists, a teammate's or yours on another computer. Given its repository's address, it clones it first.

    bit setup
  • Starts your app

    Starts the website and its server, or the Android, iOS, macOS or Windows app, with an Android emulator made ready when no phone is connected.

    bit run

Go live

Ready for your server and the app stores.

  • Makes your keys

    Creates the keys and certificates your app signs and encrypts with, the Android app's signing key, and the iOS app's signing without a Mac.

    bit keys
  • Fills in your pipeline's secrets

    Reads what your GitHub Actions workflows need, makes the keys it can, asks you for the rest and stores them as GitHub secrets. It also locks the repository down.

    bit pipeline
  • Keeps installed apps working

    Tells you whether a change to your server breaks an app version your users still have installed, before it goes live.

    bit api check

Keep building

Your app grows, and stays current.

  • Changes your database safely

    Adds a migration when your app's data changes, so the database on your server follows when the new version goes live.

    bit migration add
  • Translates your app

    Fills in the missing translations of your app's texts with the AI model you choose, and keeps the ones you have.

    bit translate
  • Brings in what's new

    Shows what changed in the starting point your project was made from, so your AI brings each improvement in and keeps your own changes.

    bit diff

You ask in your words. Your AI runs the command. Copier le lien vers cette section

You'll rarely type any of these yourself. Your AI agent runs them while it builds, the way a developer on your team would.

  • Your AI knows when

    Your project's instructions and skills tell your AI agent which command a task needs. You ask in your own words, and it runs the right one.

  • A stuck step says what's next

    When a step fails, bit CLI says what it was doing and the exact command that finishes it, and the steps after it still run. Your AI picks up from there.

  • Always the right version

    In your project, bit CLI runs the version that fits it and keeps itself up to date, so neither you nor your AI has to.

Every command Copier le lien vers cette section

One line each, in the order bit --help lists them. bit <command> --help shows a command's options.

Command Ce qu'il fait
bit new Creates a project and gets it ready to run: the tools it needs, the build, git, its database and your editor.
bit setup Gets a project that exists ready on this computer, cloning it first when given its repository's address. It also adds an app later, such as Android.
bit run Builds and starts the project: the website and its server, or the Android, iOS, macOS or Windows app.
bit diff Shows what changed in the project's starting point between two versions, as one commit your AI brings into your project.
bit doctor Checks this computer for the tools a project needs, and installs what's missing with --fix.
bit trust Marks a project's folder as trusted for VS Code, Claude Code, Copilot CLI, Codex and Gemini CLI.
bit clean Deletes the project's build outputs and downloaded packages, so the next build starts fresh.
bit rename Renames the project everywhere its name appears: files, folders, code, the database and the app's id.
bit remove Deletes a folder for good, after stopping the apps that keep its files in use.
bit migration Adds and removes the database's migrations, and bundles them for the database on your server.
bit api Checks that the server's api still works for the app versions your users run, and keeps each release's api.
bit translate Fills in the missing translations of the app's texts with an AI model, and checks that none is missing.
bit decode Reads an error report of a minified app back into the names its code has.
bit keys Creates the keys and certificates the project signs and encrypts with: web push, the server's certificate, and the Android and iOS apps' signing.
bit pipeline Fills in the secrets the GitHub Actions workflows use, and locks the repository down.
bit aot-profile Writes the profile that makes the web app fast while its download stays small.
bit telemetry Shows what bit CLI reports to the bit platform team, and changes it.
bit update Updates bit CLI to the newest version. bit new and a project's commands do it by themselves.
bit license Shows the project's license, and the link that gets it one, free.
bit about Shows where this build of bit CLI comes from, and how to verify it.

Install it Copier le lien vers cette section

You rarely need to: the one line Get started gives you installs bit CLI along with everything else. To install it on its own:

  • Windows

    Paste it into PowerShell or Command Prompt. It installs Microsoft's free developer tools and bit CLI for your user, without administrator rights.

    powershell -c "irm https://bitfabric.co/install.ps1 | iex"
  • macOS and Linux

    Paste it into a terminal. It installs the same for your user, without sudo.

    curl -fsSL https://bitfabric.co/install.sh | bash
  • With the .NET SDK already there

    Version 10 or later. bit CLI installs from nuget.org as a tool for your user.

    dotnet tool install --global Bit.Cli --prerelease

Then open a new terminal: bit --help lists every command.

Check what you run Copier le lien vers cette section

Don't take our word for it: the source, the build and what it reports are all open to check.

  • The source is public

    bit CLI's source is on GitHub, in bit Fabric's own repository, under the FCL-1.0-MIT license. Read what a command does before you run it.

    Its source on GitHub(s’ouvre dans un nouvel onglet) FCL-1.0-MIT(s’ouvre dans un nouvel onglet)
  • Built, signed and attested

    GitHub Actions builds every release from that source, signs it and records an attestation on GitHub. bit about shows the build you run and the line that verifies it:

    bit about gh attestation verify <bit.dll> --repo bitfoundation/bitfabric
  • What it reports, and what never

    Whether each step worked, how long it took and its errors, so failed runs get fixed. Never your project's names, paths, files, prompts or keys. This turns it off:

    bit telemetry off

Questions Copier le lien vers cette section

Commencez avec quelque chose que vous garderez

Répondez à quelques questions, collez une ligne, et votre IA commence par votre idée, pas par ce dont chaque app a besoin.

Commencer