Skip to content
Bitwarden Logo

Overview

Requirements

Before you start, you must complete the Clients repository setup instructions.

Build Instructions

Build and run:

By default, this will use the official Bitwarden servers. You can target your local server by using the config command. You may need to configure node to use your self-signed certificate.

Testing and Debugging

The build is located at build/bw.js. You can run this with node, for example:

Terminal window
node build/bw.js login

It may be more convenient to make the file executable first:

Terminal window
cd build
chmod +x bw.js
./bw.js login

To debug the CLI client, run it from a Javascript Debug Terminal and place the breakpoints in your Typescript code.