Skip to content

pyyupsk/windsurf-installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌊 Windsurf Installer

A simple Bash script to install, update, or uninstall the Windsurf IDE on Linux.

Windsurf IDE

✨ Features

  • 🚀 Install or update the latest version of Windsurf IDE
  • 🔐 Verifies downloads using SHA256 checksums
  • 🖥️ Automatically creates desktop integration (icon + launcher)
  • 📋 Clean and informative logs: success, errors, and warnings

🔧 Requirements

Make sure the following tools are installed before running the script:

  • Core utilities: curl, tar, grep, sed, mktemp, basename, dirname, cut

💻 Usage

Basic Installation

Install Windsurf IDE:

curl -fsSL https://fasu.dev/windsurf | bash

Advanced Options

Force installation without confirmation prompts:

curl -fsSL https://fasu.dev/windsurf | bash -s -- --force

Quiet installation with minimal output:

curl -fsSL https://fasu.dev/windsurf | bash -s -- --quiet

Combined force and quiet installation:

curl -fsSL https://fasu.dev/windsurf | bash -s -- --force --quiet

View the install script for more details.

🔄 Installation Flow

  1. Fetches the latest Windsurf IDE version from the official API
  2. Checks for updates if already installed
  3. Downloads and verifies the .tar.gz archive (SHA256)
  4. Extracts and installs to ~/.local/opt/windsurf
  5. Creates:
    • A symlink in ~/.local/bin
    • A desktop entry for GUI access

🧹 Uninstallation

To completely remove Windsurf IDE:

curl -fsSL https://fasu.dev/windsurf | bash -s -- --uninstall

Force uninstallation without confirmation:

curl -fsSL https://fasu.dev/windsurf | bash -s -- --uninstall --force

This will delete:

  • ~/.local/opt/windsurf
  • ~/.local/bin/windsurf
  • ~/.local/share/applications/windsurf.desktop

🛠️ Troubleshooting

Issue Solution
Missing dependencies Script will notify you. Install missing tools with your package manager (e.g., apt, dnf, yum, pacman)
Checksum verification failed Retry after checking your internet connection
Desktop entry missing Ensure update-desktop-database is installed or check installation dir manually

🤝 Contributing

We welcome contributions!

  1. Fork the repo
  2. Create a feature branch
  3. Make your changes
  4. Open a pull request with a clear description

Please follow existing code style and keep your changes focused.

💖 Credits

  • Windsurf IDE is developed by Windsurf.
  • This installer is unofficial and created by @pyyupsk to streamline Linux installation and management.

⚠️ Disclaimer

This installation script for Windsurf IDE is not officially associated with, endorsed by, or affiliated with Windsurf (https://windsurf.com), the original developers of Windsurf IDE. This script is provided as an independent, third-party tool to facilitate installation of the software.

The script is provided "as is" without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the script is with you.

By using this installation script, you acknowledge that you are using an unofficial installation method and accept all associated risks. Please visit https://windsurf.com for official downloads and installation methods.

About

A simple Bash script to install, update, and uninstall the Windsurf IDE on Linux.

Resources

License

Stars

Watchers

Forks

Languages