Update components

Bit helps you keep your component dependencies up-to-date, ensuring your projects always use the latest and greatest versions. You can use Bit to seamlessly manage updates for your components, whether they are external dependencies or workspace components.

To list and apply updates for dependencies, run:

$bit
Copiedcopy
See command synopsis

Updating specific components

Update a specific dependency using the bit install:

$bit
Copiedcopy
See command synopsis

Specify the version to install a specific version:

$bit
Copiedcopy
See command synopsis

Updating workspace components

Components can be imported to every workspace and thus, can also accept updates.

To fetch the latest updates from the remote, run:

$bit
Copiedcopy

Components with pending updates are listed when running bit status.

Once components are updated, you can update your components to the head version:

$bit
Copiedcopy