xenvsync helps you handle .env files with less risk. It can encrypt your secrets, let your team share them with safe keys, and load them into your app when you need them.
It is a single CLI tool, so you do not need to install a long list of extra apps. It works on common desktop systems and fits well if you want to keep secrets out of plain text files and out of cloud services.
- Open the xenvsync Releases page
- Find the latest release
- Under Assets, download the Windows file for your system
- Save the file to a folder you can find, such as Downloads
- If the file comes in a
.zipfile, unzip it first - Open the folder that contains the program
- Double-click the
xenvsyncfile to run it, or open Command Prompt in that folder and run it from there
If Windows shows a security prompt, choose the option that lets you run the file.
- A Windows PC
- A recent version of Windows 10 or Windows 11
- Permission to download and run files
- A
.envfile or a folder of environment files to work with
If you plan to share secrets with a team, each person needs the same project setup and the right access keys.
On the release page, look for a file name that matches Windows. Common names may include:
xenvsync-windows-amd64.exexenvsync-windows-x64.zipxenvsync.exe
Pick the file that fits your Windows device. Most modern PCs use amd64 or x64.
If you only see source files, scroll further down the release page. The file you want is usually listed under Assets.
After you open the app, you can use it to manage your secrets in a few common ways:
- Encrypt a
.envfile before you save it - Commit encrypted secrets to Git
- Share access with team members using X25519 keys
- Inject secrets into your app when you need to run it
- Rotate keys when access changes
If you are new to this, start with one small .env file and test the flow before moving your whole project.
A typical flow looks like this:
- Create or choose a
.envfile - Encrypt the file with xenvsync
- Commit the encrypted version to your repo
- Share the matching key with the right people
- Load the secrets back into your app on the machine that needs them
This keeps the secret values out of plain text while still letting your app read them when needed.
xenvsync supports team sharing with X25519 key exchange. That means one person can share access without sending the same secret file to everyone.
Use this when:
- More than one person works on the same app
- You want to remove access for one person without changing everything
- You want a cleaner way to pass secrets between machines
A good team setup uses one source of truth, clear access rules, and a simple key rotation plan.
xenvsync uses AES-256-GCM for encryption. In plain terms, it turns your .env secrets into unreadable data unless the right key is present.
This helps you:
- Keep secret values out of plain text files
- Store encrypted data in Git
- Avoid sending secrets through cloud tools
- Reduce the risk of copying secrets by hand
It is built for local use, so your files stay under your control.
Use xenvsync if you want to:
- Store app secrets in Git without plain text
- Share
.envvalues across a small team - Move secrets between your laptop and a server
- Keep development and test settings in sync
- Load environment variables before starting your app
It works well for side projects, internal tools, and small teams that want a simple workflow.
Here is a simple path for a Windows user:
- Download the latest file from the Releases page
- Put the file in a folder like
C:\Tools\xenvsync - Open that folder
- Run the app from Command Prompt or PowerShell
- Point it at your
.envfile - Encrypt the file
- Keep the encrypted file in your project folder
If you use Git, commit the encrypted file instead of the plain text version.
You may work with these files:
.envβ your normal environment file- encrypted
.envoutput β the protected version - key files β used to unlock or share access
- release files β the Windows program you download
Keep the plain text .env file in a safe place and avoid sharing it if it contains secrets.
If someone leaves the team or you want to refresh access, rotate the key. This means you create a new key and stop using the old one.
Use key rotation when:
- A laptop is lost
- A team member changes roles
- You want to refresh old access
- You want to clean up who can read secrets
A simple rotation habit helps keep access tight over time.
If the app does not open:
- Check that you downloaded the Windows file from the release page
- Make sure the file finished downloading
- Unzip the file if needed
- Try running it from a folder you can access
- Check that your account can run local apps
If your file does not load:
- Check the file path
- Make sure the
.envfile exists - Confirm that the file uses the format your app expects
- Try with a small test file first
If team sharing does not work:
- Check that both sides use the correct key
- Confirm that the encrypted file matches the project
- Make sure no one changed the file by hand
- Go to the xenvsync Releases page
- Download the Windows file from the latest release
- Unzip it if needed
- Run
xenvsync - Encrypt your
.envfile - Use the encrypted file in your project