Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.vast.ai/llms.txt

Use this file to discover all available pages before exploring further.

Update an existing user environment variable

Usage

vastai update env-var <name> <value>

Arguments

name
string
required
Environment variable name to update
value
string
required
New environment variable value

Examples

vastai update env-var <NAME> <VALUE>

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)