Skip to main content
Flash runs natively on macOS and Linux. On Windows, you can run Flash through Windows Subsystem for Linux (WSL2), which provides a full Linux environment on your machine.

Requirements

  • Windows 10 version 2004 or later, or Windows 11.
  • Administrator access to your Windows machine.
  • Runpod account with a verified email address.
  • An API key with All access permissions.

Step 1: Enable WSL2

Open PowerShell or Command Prompt as Administrator (right-click and select “Run as administrator”), then run:
This command enables WSL, installs the latest Linux kernel, sets WSL2 as the default version, and installs Ubuntu as your Linux distribution.
If WSL is already installed on your system, you can install Ubuntu specifically with:
After the installation completes, restart your computer when prompted.

Step 2: Set up Ubuntu

After restarting, Ubuntu launches automatically and prompts you to create a Linux username and password. These credentials are separate from your Windows account and are used only within the Linux environment. If Ubuntu doesn’t launch automatically, open it from the Start menu by searching for “Ubuntu”. Once setup is complete, you’ll see the Ubuntu terminal prompt:
Update your package lists to ensure you have access to the latest software:

Step 3: Install Python and uv

Flash requires Python 3.10 or later. Ubuntu typically includes Python, but you should verify the version:
If you need a newer version, install it:
Install uv, a fast Python package manager:
After installation, restart your terminal or run the following to add uv to your path:

Step 4: Install and authenticate Flash

Create a project directory and set up a virtual environment:
Install Flash:
Authenticate with your Runpod account:
This opens your browser to authorize Flash. After you approve, your credentials are saved.
Alternatively, you can set your API key directly:

Step 5: Verify your installation

Test that Flash is working correctly:
You’re now ready to use Flash. Continue with the quickstart to run your first GPU workload.

Tips for working with WSL2

Accessing Windows files: Your Windows drives are mounted under /mnt/. For example, C:\Users\YourName\Documents is accessible at /mnt/c/Users/YourName/Documents. Opening WSL from any folder: In Windows Explorer, type wsl in the address bar to open Ubuntu in that directory. VS Code integration: Install the WSL extension for VS Code to edit files in WSL with full IDE support. Run code . from your WSL terminal to open VS Code in the current directory. Default terminal: You can set Ubuntu as your default terminal in Windows Terminal for quicker access.