AI-powered development workspaces with reusable components, architectural clarity and zero overhead.
AI-powered development workspaces with reusable components, architectural clarity and zero overhead.
Website | Docs | Community | Bit Cloud
Bit is the build system to connect components and apps from development to CI in the AI era. Bit organizes source code into composable components, empowering to build reliable, scalable and consistent applications. It enables AI agents to intelligenly create and reuse components via MCP preventing duplication and accelerating development.
⚡ Features
Bit supports all tooling in the JS ecosystem and comes out of the box with official dev environments for NodeJS, React, Angular, Vue, React Native, NextJS and far more. All are native to TypeScript and ESM and equipped with the best dev tooling.
Bit is a fit to every codebase structure. You can use Bit components in a monorepo, polyrepo, or even without repositories at all.
Use the Bit installer to install Bit to be available on your PATH.
npx @teambit/bvm installInitialize Bit on a new folder or in an existing project by running the following command:
bit init --default-scope my-org.my-projectMake sure to create your scope on the Bit platform and use the right org and project name. After running the command, Bit is initialized on the chosen directory, and ready to be used via Bit commands, AI agent, your editor or the Bit UI!
Create the application shell to run, compose and deploy your application:
bit create react-app corporate-websiteRun the platform:
bit run corporate-websiteHead to http://localhost:3000 to view your application shell. You can start composing the application layout and specific pages to build your application. Learn more on building shell applications.
Create the components to compose into the feature. Run the following command to create a new React UI component for the application login route:
bit create react pages/loginFind simple guides for creating NodeJS modules, UI components and apps, backend services and more on the Create Component docs.
Compose the component into the application shell:
import { Login } from '@my-org/users.pages.login';
import { Routes, Route } from 'react-router-dom';
export function CorporateWebsite() {
return (
<AcmeTheme>
<NavigationProvider>
<Routes>
<Route path="/" element={
} />
<Route path="/login" element={<Login />} />
</Routes>
</NavigationProvider>
</AcmeTheme>
);
}
Head to http://localhost:3000/login to view your new login page. You can use bit templates to list official templates or find guides for creating React hooks, backend services, NodeJS modules, UI components and more on our create components docs. Optionally, use bit start to run the Bit UI to preview components in isolation.
You can either use hosted scopes on Bit Cloud or by hosting scopes on your own. Use the following command to create your Bit Cloud account and your first scope.
bit loginUse semantic versioning to version your components:
bit tag --message "my first release" --majorBy default, Bit uses Ripple CI to build components. You can use the --build flag to build the components on the local machine. To tag and export from your CI of choice to automate the release process or use our official CI scripts.
After versioning, you can proceed to release your components:
bit exportHead over to your bit.cloud account to see your components build progress. Once the build process is completed, the components will be available for use using standard package managers:
npm install @my-org/users.pages.loginBit is entirely built with Bit and you can find all its components on Bit Cloud.
Your contribution, no matter how big or small, is much appreciated. Before contributing, please read the code of conduct.
See Contributing.
Merge Queue Dashboard
Cross-Platform Path Incompatibility & Unscoped Package Misparsing in Link Helper
Early Return in Tester Aspect Silently Bypasses JUnit XML Report Generation
Strict Equality Object vs String Type Mismatch in Package Hoisting & Deduping
Incorrect Dynamic Property Access in Package Data Resolver
Windows: Multiple issues with Vitest integration and Oxlint in Bit 2.0.11
Bit VS Code extension shows a false "untracked file dependencies" error with raw ANSI escape codes whenever a new file is added to a tracked component (reload clears it)
global virtual store: bit build's env type-checks fail locally — published .d.ts can't reach @types/core-aspects from store slots
cross-copy instanceof checks on error classes break when capsules host multiple copies of a package
Installs with the Rust pnpm engine always re-resolve: state-dependent generated manifests and missing dedupePeers option