1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00
The browser extension vault (Chrome, Firefox, Opera, Edge, Safari, & more).
Go to file
2021-06-21 19:25:55 -05:00
.github/workflows pinning commit hashes instead of versions to protect against supply chain attacks in github actions (#319) 2021-06-02 11:20:22 -07:00
.vscode chalk and source maps 2018-05-15 10:50:06 -04:00
jslib@78ae9383fb Update jslib (#333) 2021-06-21 19:25:55 -05:00
scripts bitwarden inc. 2020-02-18 22:36:04 -05:00
src Use getKey to actually retrieve key. (#332) 2021-06-21 12:26:45 -05:00
stores Updated year to current in copyright (#235) 2021-02-25 08:53:51 -05: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 Add jslib as a "real" dependency (#321) 2021-06-07 19:25:55 +02:00
package.json Add jslib as a "real" dependency (#321) 2021-06-07 19:25:55 +02: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.