Bit
Docs
Reference
Components
Teams
Enterprise
Docs
Reference
Components
Teams
Enterprise
Blog·
Inspect
Bit
DocsReferenceComponentsTeamsEnterpriseBlog
Reference DocsGlossaryCLI Reference
Workspace
Workspace configuration
Creating components
Importing components
Component status
Removing components
Linking workspaces
Components
The Bit Component
Renaming components
Deleting components
Deprecating components
Changing scopes
Dependencies
Installing dependencies
Updating dependencies
Controlling dependencies
Inspect dependencies
Avoiding cyclic dependencies
Dev environments
Create an env
Setting envs
Updating envs
Env configuration
Packages
Configuring .npmrc
Controlling package.json
Use from private registries
Publishing to other registries
App shells
Create apps
Run apps
Build apps
Deploy apps
CI
Ripple CI
Github Actions
Azure Devops
GitLab CI
Jenkins
Others (Scripts)
Change requests
Building Lanes
Submit change requests
Release change request
Adopting Bit
Lerna
Expo
NX
Create React App (CRA)
NextJS
Angular
Turborepo
Vue
Reference
Lanes
Create Lane
Merging Lanes
Delete components in Lanes
Switching Lanes
Manually releasing
Config
Bit config
Config files
Network config
Scope
Scopes on bit.cloud
Create bare scope
Configure scopes
Hosting scopes
Using remote scopes
Migrating to Harmony
Using BVM
Clearing cache
BUILD & EXTEND
Component generators
Using generators
Set up generators
Create a generator
Preview
Using component previews
Set up preview
Creating a preview server
Compiling
Compiling components
Set up a compiler
Create a compiler
Testing
Testing components
Set up a tester
Create a tester
Build pipelines
Running build pipelines
Create a build task
Build artifacts
Workspace starters
Use workspace starters
Set up a workspace starter
Create a workspace starter
Linting
Linting components
Set up a linter
Create a linter
Linter workspace config
Formatting
Formatting components
Set up a formatter
Create a formatter
Aspects
Aspects overview
Using aspects
Creating aspects

CLI Reference

The listed commands have been organized into categories, with certain commands fitting into multiple categories.

Commonly used
Workspace
Dependencies
Collaboration
Envs and dev tools
Component configuration
Apps
Global
All
Commonly used
Workspace
Dependencies
Collaboration
Envs and dev tools
Component configuration
Apps
Global
All
  • init
    Create or reinitialize an empty workspace
  • show
    Display the component's essential information
  • add
    Add any subset of files to be tracked as a component(s).
  • create
    Create a new component (source files and config) using a template.
  • new
    Create a new workspace from a template
  • run
    Locally run an app component (independent of bit's dev server)
  • install
    Installs workspace dependencies
  • import
    Import components from their remote scopes to the local workspace
  • export
    Export components from the workspace to remote scopes
  • tag
    Create an immutable and exportable component snapshot, tagged with a release version.
  • snap
    Create an immutable and exportable component snapshot (non-release version)
  • list
    List components on a workspace or a remote scope (with flag).
  • status
    Present the current status of components in the workspace, including indication of detected issues
Open Source
DocsContributingPrivacy
Get Started With
ReactReactAngularAngularVueVueNodeJsNodeJsReact NativeReact Native
Community
SlackStack OverflowBlogIssues
Bit Cloud
Bit CloudBit For TeamsBit For EnterpriseBook a Demo
Follow Us
BitBitYouTubeTwitterGithub
© 2025 Cocycles Ltd.Privacy Policy