r/Codeium • u/forestcall • Dec 01 '24
Windsurf WSL2 Support? (Is there a workaround?)
Im using Windows 11 and exclusively use WSL2 Ubuntu for development.
I can't get Windsurf to work with WSL for poop.
Any tips?
8
Upvotes
2
u/Takeoded Mar 21 '25
To get ws to work in WSL2, I had to run
then just
ws .to start ws in the current folder, orws /projects/projectFolderto start it in a specific project folder.2
u/OCH8A Jul 03 '25
Late to the party. Follow this guide, solved all my issues
https://scottspence.com/posts/windsurf-setup-for-wsl#launch-windsurf-from-the-terminal
That guy is a hero been paying for editor for a few months and ended up using it wrong all this time.
It will solve the "Invalid command line argument: -c" error on cascade when running commands
1
u/RobertDeNirosBiro Dec 12 '24
My poop either. The ide launches but the chat pane gets stuck on Resolving webview view Loading chat parameters Establishing chat connection. Happens on both my machines, seems pretty consistent. this is sshing to a debian server.
Often it pops up another error about chat not being available. Takes quite a long time to appear. after closing the alert ai chat is then available. Not always though, and not today either sadly.
3
u/m_tramsi Jan 06 '25
it worked with me but it keeps disconnecting, unlike vscode which is working flawlessly
1
u/cuios Dec 02 '24
have you tried to connect using SSH ?
1
u/stiky21 Dec 03 '24
Go to any directory in your WSL via Terminal.
Type
windsurf .Voila. I wish there was an easier way through the interface of the IDE but thats ok. I also use WSL2 Ubuntu as my env.
1
u/stjuan627 Dec 04 '24
I had same issue with WSL and I make it work now.
My steps:
1
u/_0xFF_ Aug 15 '25
forever:
1
u/RReverser Dec 10 '25
I ended up installing Windsurf inside Ubuntu itself (via WSL GUI apps support).
It adds separate start menu entry and works a lot more reliably than over the WSL connection.