maintained
Windsurf Installer
An unofficial Bash script that installs, updates, and removes Windsurf IDE on Linux. It verifies downloads with SHA256 and adds desktop integration.
Bash / Linux / CLI / Shell· 2025
view .mdopen in claudeopen in chatgpt
A single Bash script that handles the full lifecycle of Windsurf IDE on Linux. It can install, update, and uninstall the IDE. It needs no external dependencies beyond standard coreutils.
Features
- SHA256 verification: The script checks every download against the official checksum before extraction.
- Desktop integration: The script creates a
.desktoplauncher and links the binary to~/.local/bin. - Update-aware: The script detects the installed version and skips the update if it is already current.
- CLI flags: The script supports
--force(skip prompts),--quiet(minimal output), and--uninstall.
Usage
# Install or update
curl -fsSL https://fasu.dev/windsurf | bash
# Force install without prompts
curl -fsSL https://fasu.dev/windsurf | bash -s -- --force
# Uninstall
curl -fsSL https://fasu.dev/windsurf | bash -s -- --uninstall
How it works
- The script fetches the latest version from the official Windsurf API.
- The script downloads the
.tar.gzarchive and verifies it with SHA256. - The script extracts the archive to
~/.local/opt/windsurf. - The script creates a symlink in
~/.local/binand a.desktopentry for GUI access.
The short install URL fasu.dev/windsurf redirects to the raw script on GitHub. This makes it easy to remember and pipe into Bash.