Fix windsurf command in WSLtype
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 fileThis will allow you to use
windsurf [path] as you would for VSCode’s code [path]