This repository maintains an Arch Linux PKGBUILD for Windsurf Editor.
Windsurf (formerly Codeium) is an advanced AI coding assistant for developers and enterprises. Windsurf Editor is the first AI-native IDE designed to keep developers in flow with intelligent code completion, chat, and code navigation features.
To install the latest version directly without cloning the repository, you can run:
curl -sSL https://raw.githubusercontent.com/xPathin/windsurf-bin-arch/main/install_windsurf | bashThis will download and execute the installer script. You will be prompted to choose between the standard and Electron versions of Windsurf unless you set the WINDSURF_INSTALL_CHOICE environment variable (e.g., WINDSURF_INSTALL_CHOICE=standard curl ... | bash).
# Clone the AUR package
git clone https://aur.archlinux.org/windsurf-bin.git
cd windsurf-bin
# Build and install either the native or electron version
makepkg -si windsurf-bin
# or
makepkg -si windsurf-bin-electron-latestThis PKGBUILD uses GitHub Actions to automate maintenance:
-
Version Checking and Publishing (
update.yml)- Runs every 3 hours to check for new upstream versions
- Creates and auto-merges pull requests when updates are available
- Directly triggers the publish workflow when updates are detected
-
AUR Publishing (
publish.yml) (disabled)- Reusable workflow called by the update workflow
- Publishes the updated package to the AUR
- Can also be manually triggered when needed
This PKGBUILD conflicts with the windsurf AUR package, as both cannot be installed simultaneously. The reason why this PKGBUILD exist is due to the fact that the windsurf AUR package is slow in updating to the latest version and people want to use the latest version of Windsurf as soon as it is available.
If you encounter any problems with this PKGBUILD:
- Open an issue in this repository
- Comment on the AUR package page
The packaging scripts are licensed under MIT, while Windsurf itself has its own license terms.