Skip to main content

Installing Bit

To use Bit you will need to install it. You can do this by first installing BVM, a version manger for Bit and then installing Bit.

1. Install BVM#

BVM is a version manager for Bit. Using BVM makes it easier to install and manage multiple versions of Bit in a single environment.

npm i -g @teambit/bvm

You should see a progress bar while BVM is installing and once finished you can use BVM to install Bit.

➡️ Learn more about BVM and it's commands, including troubleshooting information.

2. Install Bit#

Once BVM is installed you can install the latest version of Bit using the bvm install command.

bvm install

BVM and Bit Versions#

To check your version of BVM and Bit and see what the latest version is run the bvm version command.

bvm version

Upgrading BVM#

To upgrade to the latest version of BVM:

npm i -g @teambit/bvm

You should see a progress bar while BVM is installing and once finished you can use BVM to install Bit.

Upgrading Bit#

To upgrade to the latest version of Bit:

bvm upgrade

Have a legacy version of bit installed on your machine?

Use the bbit command to run Bit's latest version and the bit command for Bit's legacy version.

What's next?#

Once you have installed Bit and BVM you can then initialize a workspace so you can manage your components.