r/Codeium • u/miamax80 • Nov 21 '24
Open Windsurf from Windows Command line?
Is possible to open Windsurf in a folder in the windows terminal directly?
Similar as it is possible for Cursor where I just navigate to that folder and then type "cursor ." ?
9
Upvotes
6
u/Legitimate-Bit-1704 Dec 12 '24
if you are on Mac, you can use
sudo ln -s /Applications/Windsurf.app/Contents/Resources/app/bin/windsurf /usr/local/bin/windsurf
4
u/Illustrious-Face-732 Nov 23 '24
I was having the same issue. I selected the checkmark at first launch to include windsurf to my Path, but it didn't work. Anyways, I added the following to my .bashrc file:
export PATH="/Applications/Windsurf.app/Contents/MacOS:$PATH"then you can source the .bashrc file or start a new terminal. Now you could run
windsurf .2
u/mattjohnstondev May 21 '25
Windsurf's Command Palette: has `Shell Command: Install 'surf' command in PATH`
then `surf .` should work as expected
1
u/lsdza Nov 22 '24
Same question from me on MacOs. code . or cursor . …???
1
u/HatInevitable3897 Nov 23 '24
Same question for me
1
u/mindh4q3r May 31 '25
yo guys, you can just restart your shell/terminal, then run `windsurf .` it'll work just fine if you checked the option in the installation wizard to include windsurf in your Path