Fix windsurf command in WSL
Lazy loaded imageFix windsurf command in WSL
type
Post
status
Published
date
Apr 7, 2025
slug
fix-windsurf-command-in-wsl
summary
tags
Windows Subsystem for Linux (WSL)
Codeium.Windsurf
Design Decision
Guide
category
icon
password
Importance
Tweet
💡
The windsurf command does not seem to work correctly for me. It does not open WSL: Ubuntu remote by default like VS code does.

Fix windsurf command in Windows Subsystem for Linux (WSL)

Either add the following code snippet to your .zshrc file or create .zsh_aliases and have . ~/.zsh_aliases at the end of your .zshrc file
This will allow you to use windsurf [path] as you would for VSCode’s code [path]
An AI friendly numbering systemI switched username and lost association with previous commits
Loading...