Skip to content

bwsfSecure .env Management

Manage your .env files with Bitwarden CLI

Quick Start

bash
# Install via Homebrew
brew tap b4m-oss/tap && brew install bwsf

# Initial setup
bwsf setup

# Pull .env from Bitwarden
cd /path/to/your_project
bwsf pull

# Push .env to Bitwarden
bwsf push

How It Works

bwsf uses the official Bitwarden CLI (bw) to securely store and retrieve your .env files. Your environment variables are stored as Note items in a dedicated dotenvs folder within your Bitwarden vault.

Each project's .env files are identified by the directory name, making it easy to organize and manage multiple projects.

Released under the MIT License.