General

List all Bit configs

bit config list
CopiedCopy

Set a value

bit config set <key> <value>
CopiedCopy

Get the value of a specific key

bit config get <key>
CopiedCopy

Delete a key

bit config del <key>
CopiedCopy

User configuration

ssh_key_file

Defines the path the ssh key files that will be used to log into Bit cloud. If not set, it will default to ~/.ssh/id_rsa.

user.token

Authentication token for a Bit Cloud account. The token is auto-generated when running bit login.

user.email

The user's email. This will be used for the component version history log. The user.email value is copied from the user's git user.email property, when running bit init.

A proxy for outgoing HTTP/HTTPS requests

Bit can be configured to use a proxy for outgoing http/s network requests.

proxy

A URL for a proxy to be used in both HTTP and HTTPS requests.

httpsProxy

A URL specific for HTTPS requests (this will override the value set in proxy for HTTPS requests).

Bit Cloud Configuration

These values need to be changed only if a private server or private registry is used. Otherwise, it will be defaulted to Bit cloud server.

hub_domain

The domain of the default bit cloud component hub. Optional and defaulted to bit cloud hub hub.bit.dev.

hub_domain_login

The service against which the user will be authenticated. Optional and will be defaulted to https://bit.dev/bit-login

registry

Bit npm registry url. Optional and defaulted to https://node.bit.dev.

Reporting Configuration

analytics_reporting

Will determine if anonymous usage data is sent to Bit.

anonymous_reporting

By default, analytics data is sent as anonymous data. Set the value to false to send unmasked data.

error_reporting

Send anonymous errors data to Bit. Defaulted to false.

log_level

Log errors that are output. Values are: error (least verbose), warn, info, http, verbose, debug, silly (most verbose). The default level is debug.

Local Configuration

git_path

Path to the location of the Git executable.