Logo

Installing EnvVault on Windows

EnvVault can be installed on Windows using package managers like Chocolatey and Scoop, or through manual installation. Choose the method that best suits your needs.

Installing with Chocolatey

Install EnvVault using Chocolatey:

choco install envvault

To upgrade EnvVault to the latest version:

choco upgrade envvault

System Requirements

  • Operating System: Windows 8 or later
  • Architecture: 64-bit Windows
  • PowerShell: Version 5.1 or later (included with Windows 10+)
  • Windows Terminal: Recommended for better experience

Verification and Setup

1. Open a new PowerShell window and verify the installation:

envv --version

2. Set up PowerShell completion (optional):

# Add to your PowerShell profile
envv completion powershell >> $PROFILE

# Reload your profile
. $PROFILE

3. Test the installation by logging in with an API key from the dashboard:

envv login --token <YOUR_API_KEY>

envvault is also accepted as an alias for envv.

Troubleshooting

Common Issues and Solutions

Command Not Found

If Windows cannot find the envv command:

# Verify PATH environment variable
$env:Path -split ';'

# Add EnvVault directory to PATH if needed
$envvaultPath = "C:\Program Files\EnvVault"
[Environment]::SetEnvironmentVariable(
    "Path",
    [Environment]::GetEnvironmentVariable("Path", "Machine") + ";$envvaultPath",
    "Machine"
)

Security Warnings

If you receive SmartScreen warnings:

  1. Right-click the executable
  2. Select Properties
  3. Check "Unblock" checkbox
  4. Click Apply and OK

SSL/TLS Errors

If you encounter SSL certificate errors:

# Using PowerShell as Administrator
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Uninstallation

Chocolatey:

choco uninstall envvault

Scoop:

scoop uninstall envvault

Manual installation:

# Using PowerShell as Administrator
Remove-Item "C:\Program Files\EnvVault" -Recurse -Force