Installation¶
Prerequisites¶
Before installing Vaultix, ensure you have:
- Go 1.21 or higher (only for building from source)
- Git (for cloning the repository)
Quick Install (Recommended)¶
The script will:
- Build the binary
- Install to
/usr/local/bin/vaultix - Make it executable
- Verify the installation
Manual Installation¶
Build from Source¶
Install Binary¶
# Create bin directory if it doesn't exist
New-Item -ItemType Directory -Force -Path $env:USERPROFILE\bin
# Copy binary
Copy-Item vaultix.exe $env:USERPROFILE\bin\
# Add to PATH (if not already)
$oldPath = [Environment]::GetEnvironmentVariable('Path', 'User')
$newPath = "$oldPath;$env:USERPROFILE\bin"
[Environment]::SetEnvironmentVariable('Path', $newPath, 'User')
# Verify (restart terminal first)
vaultix help
Verify Installation¶
After installation, verify that Vaultix is working:
You should see the help output with all available commands.
Update Vaultix¶
To update to the latest version:
cd vaultix
git pull origin main
go build -o vaultix
# Linux/macOS
sudo cp vaultix /usr/local/bin/
# Windows
Copy-Item vaultix.exe $env:USERPROFILE\bin\
Uninstall¶
Troubleshooting¶
Command Not Found¶
If you get "command not found" after installation:
Linux/macOS: Make sure /usr/local/bin is in your PATH:
Windows: Restart your terminal/PowerShell after running the install script.
Permission Denied¶
Linux/macOS: The binary needs execute permissions:
Windows: Run PowerShell as Administrator when installing.
Go Not Found¶
If you don't have Go installed:
- Linux:
sudo apt install golang-goorsudo yum install golang - macOS:
brew install go - Windows: Download from golang.org
Next Steps¶
Now that Vaultix is installed, check out the Quick Start Guide to create your first vault!