npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

envo-cli

v0.0.2

Published

Backup and restore .env files across machines with recovery-phrase authentication

Downloads

195

Readme

envo-cli

Backup and restore .env files across machines with recovery-phrase authentication.

Features

  • 🔐 Secure Backup: Encrypt and backup all .env files in your project directory tree
  • 🔑 Recovery Phrase Authentication: Use BIP39 recovery phrases to authenticate and restore backups
  • 🚀 Easy Restoration: Restore all backed-up .env files to their original locations across different machines
  • 📋 Project Management: List all your backed-up projects
  • 🛠️ Development Mode: Built-in support for local development environments

Installation

Via npm

npm install -g envo-cli

Via bun

bun install -g envo-cli

Quick Start

1. Initialize

Set up Envo for the first time:

envo init

This will guide you through the setup process and create your recovery phrase. Keep this phrase safe - you'll need it to restore your backups.

2. Backup

Backup all .env files in your project directory tree:

envo backup

This will:

  • Find all .env files in the current directory and subdirectories
  • Encrypt them using your credentials
  • Upload them to the Envo API
  • Provide a project identifier for future restoration

3. Restore

Restore your backed-up .env files on another machine:

envo restore

This will:

  • Authenticate using your recovery phrase
  • Download your backed-up projects
  • Restore the .env files to their original locations

4. List

See all your backed-up projects:

envo list

This will display a list of all projects you've backed up along with their metadata.

Commands

envo init

Initialize Envo for the current user.

Options:

  • --dev - Use local API endpoint (http://localhost:4400)
envo init
envo init --dev

envo backup

Backup all .env files in the current directory tree.

Options:

  • --dev - Use local API endpoint (http://localhost:4400)
envo backup
envo backup --dev

envo restore

Restore all .env files to their projects.

Options:

  • --dev - Use local API endpoint (http://localhost:4400)
  • --force - Overwrite existing .env files
envo restore
envo restore --force
envo restore --dev --force

envo list

List all backed-up projects.

Options:

  • --dev - Use local API endpoint (http://localhost:4400)
envo list
envo list --dev

Security

  • All .env files are encrypted using Argon2 before transmission
  • Your recovery phrase is never stored or transmitted
  • Authentication is performed using BIP39 recovery phrases
  • Each backup is cryptographically secured

Development

Prerequisites

  • Node.js >= 18.0.0
  • Bun (for development and building)

Setup

git clone <repository>
cd apps/cli
bun install

Development Server

Run the CLI in development mode:

bun dev

Build

Build the project:

bun run build

Lint

Check code quality:

bun run lint

Test

Run tests:

bun test

Development Mode

For local development, use the --dev flag to point to your local API endpoint:

envo init --dev
envo backup --dev
envo restore --dev
envo list --dev

Environment Variables

The CLI respects the following environment variables:

  • ENVO_API_URL - Override the API endpoint URL
  • ENVO_DATA_DIR - Override the default data directory for storing credentials

Troubleshooting

I forgot my recovery phrase

Unfortunately, without your recovery phrase, you cannot restore backups. Always keep your recovery phrase in a secure location.

The backup failed

Make sure you:

  1. Have initialized Envo (envo init)
  2. Have an active internet connection
  3. Have permission to read .env files in your directory
  4. Are pointing to the correct API endpoint (use --dev if running locally)

Restore is not finding my files

Ensure:

  1. You're using the correct recovery phrase
  2. The backed-up projects were created with the same user credentials
  3. Your internet connection is stable

Configuration Files

The CLI stores configuration in:

  • Unix/Linux/macOS: ~/.envo/
  • Windows: %APPDATA%\envo\

License

MIT

Support

For issues, questions, or suggestions, please visit the GitHub repository.