Install Devbox
Select your OS below for the steps to install Devbox.- Linux
- MacOS
- Windows/WSL2
- NixOS/Nixpkg
- Nix Flake
Installing WSL2
Installing WSL2
To install WSL2 with the default Ubuntu distribution, open Powershell or Windows Command Prompt as an administrator, and run:If WSL2 is already installed, you can install Ubuntu by runningIf you are running an older version of Windows, you may need to follow the
manual installation steps to enable
virtualization and WSL2 on your system. See the
official docs for more details
Updating Devbox
Devbox will notify you when a new version is available. To update to the latest released version of Devbox, you can rundevbox version update
.
If you installed Devbox with Nix, you can update Devbox via Nix using nix-env -u devbox
, or
nix profile upgrade
.
You can find release notes and details on the
Releases page of the Devbox Github repo.
Rolling Back or Pinning a Specific Version of Devbox
You can rollback or pin the version of Devbox on your system using theDEVBOX_USE_VERSION
environment variable. For example, to use version 0.8.0:
Next Steps
- Getting Started: Learn how to create a dev environment with Devbox
- Devbox Global: Learn how to use the devbox as a global package manager