Skip to content

Installation

Requirements

  • macOS or Linux
  • Go 1.21+ (only if building from source)

The devopsmaestro Homebrew package includes dvm, nvp, and dvt:

brew tap rmkohlman/tap
brew install devopsmaestro

Verify the installation:

dvt version

From Source

Build dvt from the main DevOpsMaestro repository:

git clone https://github.com/rmkohlman/devopsmaestro.git
cd devopsmaestro
go build -o dvt ./cmd/dvt/
sudo mv dvt /usr/local/bin/

Verify the installation:

dvt version

Shell Completion

Enable tab completion for your shell:

# Add to ~/.bashrc
eval "$(dvt completion bash)"
# Add to ~/.zshrc
eval "$(dvt completion zsh)"
# Add to ~/.config/fish/config.fish
dvt completion fish | source
# Add to your PowerShell profile
dvt completion powershell | Out-String | Invoke-Expression

Initialize dvt

After installation, initialize the dvt config directory:

dvt init

This creates ~/.dvt/ with the default configuration structure. The shared database at ~/.devopsmaestro/devopsmaestro.db is used automatically.

Config directory

The default config directory is ~/.dvt/. Override it with the --config flag on any command.


Next Steps