dvs install
Install and activate a DVS license.
Descriptionβ
The install command sets up DevSpaces on your local machine. It performs the following steps:
- Creates the configuration directory
- Generates the
wrapper.shfile and integrates it into your shell configuration - Installs shell completion scripts
- Configures the Docker environment (creates network, configures helpers, etc.)
- Launches the onboarding procedure if the installation is incomplete
Usageβ
dvs install
Onboarding Processβ
If no configuration is found, the command will launch an onboarding procedure:
- Generates an x25519 key pair
- Initializes a bootstrap session on the server
- Displays a claim URL and code
- Waits up to 28 minutes for the user to click the link and connect to their account
- Retrieves and decrypts the configuration information
- Finalizes and activates the installation on the machine
Waiting time:
- The server session remains valid for 30 minutes
- You can exit (Ctrl+C) and restart if the claim is done in the meantime
Notesβ
- If onboarding is cancelled, the Docker configuration is still complete. You can run
dvs installagain to complete onboarding. - The command automatically cleans up old dvs images after installation.