1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00
The browser extension vault (Chrome, Firefox, Opera, Edge, Safari, & more).
Go to file
github-actions[bot] 3e4aa8e476
Bumped version to 1.20.0 (#421)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2021-12-08 09:48:33 -05:00
.github Run npm lint in CI (#416) 2021-12-03 20:34:59 +00:00
.vscode chalk and source maps 2018-05-15 10:50:06 -04:00
jslib@e1c6e4973a Fix cli user agent (#415) 2021-11-23 15:13:29 -06:00
scripts Update workflows to new model (#379) 2021-10-05 16:20:18 -04:00
src Fix cli user agent (#415) 2021-11-23 15:13:29 -06:00
stores Removing branch constraints on when to expose build assets (#359) 2021-08-11 15:38:05 -07:00
.editorconfig command structure. debugging 2018-05-12 15:12:28 -04:00
.gitignore switch to webpack 2018-05-14 23:16:59 -04:00
.gitmodules move to https submodule 2018-05-16 15:56:31 -04:00
.npmignore publish to npm 2018-05-15 00:45:42 -04:00
CONTRIBUTING.md expand contributing guide 2020-10-28 17:26:29 +10:00
ISSUE_TEMPLATE.md Creating issue template (#269) 2021-03-30 18:17:26 -04:00
LICENSE.txt license file 2018-05-23 12:12:18 -04:00
package-lock.json Bumped version to 1.20.0 (#421) 2021-12-08 09:48:33 -05:00
package.json Bumped version to 1.20.0 (#421) 2021-12-08 09:48:33 -05:00
README.md Bump NPM to v7 (#311) 2021-05-26 22:34:39 +02:00
SECURITY.md contributing and security files 2018-05-18 11:53:00 -04:00
tsconfig.json Add jslib as a "real" dependency (#321) 2021-06-07 19:25:55 +02:00
tslint.json Match linter rules (#229) 2021-02-08 14:11:58 -06:00
webpack.config.js Add jslib as a "real" dependency (#321) 2021-06-07 19:25:55 +02:00

Github Workflow build on master Join the chat at https://gitter.im/bitwarden/Lobby

Bitwarden Command-line Interface

Platforms

The Bitwarden CLI is a powerful, full-featured command-line interface (CLI) tool to access and manage a Bitwarden vault. The CLI is written with TypeScript and Node.js and can be run on Windows, macOS, and Linux distributions.

CLI

Download/Install

You can install the Bitwarden CLI multiple different ways:

NPM

If you already have the Node.js runtime installed on your system, you can install the CLI using NPM. NPM makes it easy to keep your installation updated and should be the preferred installation method if you are already using Node.js.

npm install -g @bitwarden/cli

Native Executable

We provide natively packaged versions of the CLI for each platform which have no requirements on installing the Node.js runtime. You can obtain these from the downloads section in the documentation.

Other Package Managers

Documentation

The Bitwarden CLI is self-documented with --help content and examples for every command. You should start exploring the CLI by using the global --help option:

bw --help

This option will list all available commands that you can use with the CLI.

Additionally, you can run the --help option on a specific command to learn more about it:

bw list --help
bw create --help

Detailed Documentation

We provide detailed documentation and examples for using the CLI in our help center at https://help.bitwarden.com/article/cli/.

Build/Run

Requirements

Run the app

npm install
npm run sub:init # initialize the git submodule for jslib
npm run build:watch

You can then run commands from the ./build folder:

node ./build/bw.js login

Contribute

Code contributions are welcome! Please commit any pull requests against the master branch. Learn more about how to contribute by reading the CONTRIBUTING.md file.

Security audits and feedback are welcome. Please open an issue or email us privately if the report is sensitive in nature. You can read our security policy in the SECURITY.md file.