Install

Installs all dependencies for all the sourced components (or for a specific one), whether they were defined in your package.json or in each of the sourced components, and links them.

Synopsis

Install all component package dependencies.

bit install [-v|--verbose] [id]

Examples

Install dependencies for all the sourced components

bit install

This will install all the dependencies for the sourced components.

Install dependencies for a specific component

bit install foo/bar

This will install all the dependencies for a specific component - whether they were defined in your package.json or in your bit.json.

Pass an extra arguments to npm

In order to pass extra arguments to an npm client, place the arguments after --.

bit import -- --production --no-optional

Options

-v, —versbose

Shows a more verbose output when possible.

bit install --verbose
  • cli import
  • cli init