Skip to content

About

A CLI tool for seamlessly opening files and directories in Windsurf editor from your terminal.

Resources

Code of conduct

Contributing

Security policy

Stars

7 stars

Watchers

1 watching

Forks

Repository files navigation

Windsurf CLI

Version License: MIT

A command-line interface for opening files and directories in the Windsurf editor.

Installation

You can install Windsurf CLI in several ways:

Option 1: Homebrew (Recommended)

brew tap stevencch99/windsurf-cli
brew install windsurf-cli

Option 2: Manual Installation with Install Script

  1. Clone this repository
  2. Run the install script:
    ./install.sh
    This will install the windsurf command to /usr/local/bin. You can specify a different installation directory:
    ./install.sh /custom/bin/path

Option 3: Manual Installation

  1. Clone this repository
  2. Copy the windsurf script to your local bin directory or add it to your PATH
  3. Make the script executable: chmod +x windsurf

Usage

windsurf <path>

Opens the specified path in Windsurf editor.

Examples

# Open a file
windsurf myfile.txt

# Open a directory
windsurf /path/to/project

Testing

To run the test suite:

./test.sh

The tests verify:

  • Basic command functionality
  • Error handling
  • Path resolution
  • Installation script integrity

Requirements

  • Unix-like operating system (Linux, macOS, etc.)
  • Windsurf editor installed

License

MIT License

About

A CLI tool for seamlessly opening files and directories in Windsurf editor from your terminal.

Resources

Code of conduct

Contributing

Security policy

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages