Quick Usage
It is very simple and most importantly, IT DOES NOT EVEN TAKE A MINUTE!
Get Started
-
Create a Private Git Repo
-
Copy the Repository URL
-
Go/
cd
to your Project Root where the .env’s are located -
Run (With npx / pnpx / yarn dlx)
npx envshh push
-
When asked, provide a simple password of 4 characters or more and confirm it.
-
When and if asked, paste the repo url
-
Now to after any modification / deletion of your .env, or to get back the previous .env, first Go/
cd
to your project root and runnpx envshh pull
-
When asked, provide the password to decrypt the data
But wait, there’s more!
- You can always push your .env updates using
npx envshh push
- Need to generate a
.env.example
file? Usenpx envshh generate
- Need to pipe a .env file to stdin? Use
npx envshh pipe
- Need to remove a .env from your repo? Use
npx envshh remove