Docs

Docs

  • Try Bit next-gen (beta) ⮕
  • Docs
  • Tutorials
  • Guides
  • Github

›Introduction

Introduction

  • Quick Start
  • Installation
  • How bit Works?
  • Bit Workspace
  • FAQ

Components

  • Tracking
  • Compiling
  • Testing
  • Versioning
  • Documenting
  • Exporting
  • Removing & Deprecating
  • Installing
  • Importing
  • Viewing

Advanced

  • Dependencies
  • Overrides
  • CI & Deployment
  • Bit Server

bit.dev

  • Functionality
  • Account
  • Authentication

Reference

  • Bit Client Configuration
  • Workspace Configuration
  • CLI Commands
  • Usage Analytics

Extending Bit

  • Extending Bit
  • Using Extensions
  • Developing Extensions
  • Build a compiler
  • Build a tester
Edit

Installation

Check if bit is installed using:

$bit --version
14.7.6

Install via NPM / Yarn

Requires node 8.12 and above.

npm install bit-bin --global
yarn global add bit-bin  

MacOS

Install with Homebrew:

To install Bit with Homebrew run:

brew install bit

Or download Bit executable and copy the bit executable to a directory in your path, or any directory that will be added to your path:

$ curl -Lo bit https://github.com/teambit/bit/releases/download/v14.7.6/bit-bin-macos  
$ chmod +x bit
$ sudo cp bit /usr/local/bin/  
$ rm bit

Windows

Download Bit executable Windows .exe file from here. Rename it to bit.exe and add it to your PATH:

$ set PATH=%PATH%;C:\bit\

Unix

Use a package installer:

Debian
Ubuntu
CentOS / Fedora / RHEL
sudo sh -c "echo 'deb [trusted=true] https://bitsrc.jfrog.io/bitsrc/bit-deb all stable' >> /etc/apt/sources.list"
sudo apt-get update && sudo apt-get install bit
sudo apt-get update && sudo apt-get install ca-certificates
sudo sh -c "echo 'deb [trusted=true] https://bitsrc.jfrog.io/bitsrc/bit-deb all stable' >> /etc/apt/sources.list"
sudo apt-get update && sudo apt-get install bit
sudo curl --silent --location https://static.bit.dev/rpm/bit.repo | sudo tee /etc/yum.repos.d/bit.repo
sudo yum install bit

Or download Bit executable and copy it to a directory in your path, or any directory that will be added to your path:

curl -Lo bit https://github.com/teambit/bit/releases/download/v14.7.6/bit-bin-linux
chmod +x bit
sudo cp bit /usr/local/bin/  
rm bit

If you are experiencing issues when using an old version of Bit, please try installing the latest one according to your installation method from above.

← Quick StartHow bit Works? →
  • Install via NPM / Yarn
  • MacOS
  • Windows
  • Unix
Docs
bit.dev
bit.devSupportTerms and PrivacySLA
Community
SlackTwitter
More
Star
Copyright © 2022 bit.dev