Skip to Content
CLICLI

CLI

The DepVault CLI (depvault) is a .NET 10 Native AOT binary — a single self-contained executable with no runtime dependencies.


Installation

Quick Install

Linux / macOS:

curl -fsSL https://get.depvault.com | bash

Windows (PowerShell):

irm https://get.depvault.com | iex

The installer detects your platform, downloads the latest release, and adds it to PATH. Installed to ~/.depvault/bin/ by default. Set DEPVAULT_INSTALL_DIR to customize.

Manual Download

Pre-built binaries on the GitHub Releases  page:

PlatformArchive
Linux x64depvault-linux-x64.tar.gz
macOS x64depvault-osx-x64.tar.gz
macOS ARM64depvault-osx-arm64.tar.gz
Windows x64depvault-win-x64.zip

Build from Source

Requires .NET 10 SDK .

git clone https://github.com/suxrobGM/depvault.git cd depvault/apps/cli dotnet publish -c Release -r <rid>

Replace <rid> with linux-x64, osx-x64, osx-arm64, or win-x64.


Configuration

The CLI stores configuration in ~/.depvault/:

  • config.json — Server URL, active project, default output format.
  • credentials.json — JWT tokens from interactive login. Created by depvault login, removed by depvault logout. Never commit this file.
depvault config set server https://depvault.example.com depvault config set output json

Authentication Modes

ModeHow it worksUse case
Interactivedepvault login with email and passwordLocal development
CI TokenDEPVAULT_TOKEN environment variableCI/CD pipelines

When DEPVAULT_TOKEN is set, the CLI uses it for all requests and blocks interactive login. See Authentication for details.


Command Tree

CommandDescriptionDetails
depvault scanScan repo: analyze deps, push env, detect secretsScanning
depvault pullPull env vars and secret files to local foldersPull & Push
depvault pull envPull only environment variablesPull & Push
depvault pull secretsPull only secret filesPull & Push
depvault push envPush env vars from local filesPull & Push
depvault push secretsUpload secret filesPull & Push
depvault env listList environment variablesEnv
depvault env diffCompare environmentsEnv
depvault secrets listList secret file metadataSecret Files
depvault analyzeAnalyze a dependency fileAnalysis
depvault ci pullFetch secrets with CI tokenCI/CD
depvault loginAuthenticate with email/passwordAuth
depvault logoutClear stored credentialsAuth
depvault whoamiShow current userAuth
depvault project listList all projectsProjects
depvault project selectSet active projectProjects
depvault project infoShow project detailsProjects
depvault updateUpdate CLI to latest version
depvault versionPrint CLI version
depvault config set <k> <v>Set a configuration value