Using WSL in Antigravity


No plugins needed. No plugins needed. No plugins needed. Important things are worth repeating three times.

Just follow the steps below to use WSL directly in Antigravity.

p1
Click the remote indicator in the bottom-left corner (Open a Remote Window).
p2
Select 'Connect to WSL using Distro...'. I recommend this over the generic 'Connect to WSL' option because if you have Docker Desktop installed, the latter might default to the Docker container. This tripped me up for a while.
p3
Select your WSL distribution (e.g., Ubuntu).
p4
Select 'Open Folder'.
p5
In the dropdown list, navigate to your desired directory within WSL, select it, and click OK. Antigravity will then open that folder in WSL mode.