bwenv v2.0.0 - Go Rewrite
A complete rewrite in Go with multi-provider support!
What's New
-
Multi-provider support — Works with Bitwarden & 1Password
-
Beautiful interactive TUI — Provider and folder selection with Bubble Tea + Lipgloss
-
Quick re-authentication — re-authenticates and updates in one step
-
Built-in config system — ╭───────────────────────────────────────────────────────────╮
│ 🔐 bwenv v2.0.0 │
│ Sync secrets from your password manager into your shell │
╰───────────────────────────────────────────────────────────╯● Config file: /Users/s1ks1/.config/bwenv/config.json for preferences (emoji, direnv output, export summary, auto-sync)
-
Smart diagnostics — ╭───────────────────────────────────────────────────────────╮
│ 🔐 bwenv v2.0.0 │
│ Sync secrets from your password manager into your shell │
╰───────────────────────────────────────────────────────────╯📂 Current Directory
────────────────────────────────────
Directory ~/Developement/Temp/bwenv
✗ .envrc not found — run 'bwenv init' to create one📦 Dependencies
────────────────────────────────────
✓ direnv /opt/homebrew/bin/direnv
✓ direnv hook found in ~/.zshrc🔑 Providers
────────────────────────────────────
✓ 1Password installed, no active session
✓ Bitwarden installed, no active session● No active sessions — run 'bwenv init' to authenticate
🌍 Environment
────────────────────────────────────
● BW_SESSION not set
● OP_SERVICE_ACCOUNT_TOKEN not set
✓ DIRENV_LOG_FORMAT silenced (empty)
✓ DIRENV_WARN_TIMEOUT 10m⚙ Preferences
────────────────────────────────────
● Config file ~/.config/bwenv/config.json
Emoji ON
Direnv Output OFF
Export Summary ON
Auto Sync ONRun 'bwenv config' to change preferences or 'bwenv examples' for usage examples. checks everything at a glance
-
True cross-platform — Single binary for Linux, macOS, Windows (amd64 + arm64)
-
Zero runtime dependencies — Only Go binary + password manager CLI + direnv (no !)
Installation
# Homebrew
brew tap s1ks1/bwenv && brew install bwenv
# Scoop (Windows)
scoop bucket add bwenv https://github.com/s1ks1/scoop-bwenv
scoop install bwenv
# Go Install
go install github.com/s1ks1/bwenv@latest
# Quick Install
curl -fsSL https://raw.githubusercontent.com/s1ks1/bwenv/main/install.sh | shMigration from v1
If upgrading from v1 (Bash):
brew uninstall bwenv(if installed via Homebrew)- Install v2 via your preferred method above
cdto your project and runbwenv initagainbwenv loginwhen sessions expire (instead ofbwenv init)
Full Changelog
See the release notes for all changes since v1.1.1.