VS Code Extension
The Flox extension for VS Code brings full environment management into your editor.
Features
- Package management — install, uninstall, and upgrade packages from the sidebar
- Environment activation — activate environments in the background without restarting VS Code
- Terminal integration — environment variables propagate into VS Code's integrated terminal
- Remote development — works with Remote SSH, Dev Containers, and WSL
- Auto-sync — file watchers on
manifest.tomlandmanifest.locktrigger automatic reactivation - Status bar — shows the active environment at a glance
- TOML support — syntax highlighting for
manifest.toml
Install from the Marketplace
Requirements
- Flox CLI installed (install instructions)
- VS Code 1.87.0 or later
- Open the Extensions view (Cmd+Shift+X on macOS, Ctrl+Shift+X on Linux)
- Search for Flox
- Click Install
Works with Cursor
The Flox extension is compatible with Cursor. Install it the same way: open the Extensions view, search for "Flox", and install.
Build and install from source
If you prefer to install manually, you can build a .vsix file
from the source repository:
-
Clone the repository and check out a release tag:
-
Activate the Flox environment and build the package:
This creates a
.vsixfile in the project directory. -
Install the
.vsixfile using the Command Palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Linux):- Run Extensions: Install from VSIX...
- Select the generated
.vsixfile
Or install from the command line:
Source code
The extension is open source: github.com/flox/flox-vscode