Intro to Bit

Bit is a build system for composable software. It makes the composition of applications from independently versioned components seamless and fast.

The core innovation of Bit is the Bit Component, a container for composable software components. You can think about it as a next-generation package. It is extensible, portable and seamless to maintain.

People often use Bit to run a Monorepo, a Polyrepo or Distributed architecture.

Bit is designed for incremental adoption, and can be added to most codebases in few minutes.

Use Bit

Run the following to install Bit:

$npx @teambit/bvm install
Copiedcopy

Initialize Bit on a new folder or in an existing project by running the following command:

$bit
Copiedcopy

You can now start creating components using our default official templates and use them in your projects!

Get started

Use your tech of choice

Create components

After initiatizing your workspace, you can start creating components using our official templates. Run the following command to view the default templates:

$bit
Copiedcopy

The following command uses the React UI component template to create a new reusable React component:

$bit
Copiedcopy

You can find templates for creating apps, platforms, UI components and more on our create components page. If you looking to start from an existing project, check out our variaty of guides for your specific tool stack.

What's next