This directory contains packaging configurations for various Linux and macOS package managers.
Configuration is in the main Cargo.toml under [package.metadata.deb].
Build package:
cargo install cargo-deb
cargo debOutput: target/debian/termide_<version>_<arch>.deb
Configuration is in the main Cargo.toml under [package.metadata.generate-rpm].
Build package:
cargo install cargo-generate-rpm
cargo build --release
cargo generate-rpmOutput: target/generate-rpm/termide-<version>-1.<arch>.rpm
Two packages are available on AUR:
termide- Builds from sourcetermide-bin- Uses pre-built binaries from GitHub releases
Installation (using yay or paru):
yay -S termide # or termide-binLocal testing:
cd aur
makepkg -si # source package
makepkg -p PKGBUILD-bin -si # binary packageNote: AUR packages are automatically updated via GitHub Actions when a new release is tagged.
Formula is maintained in a separate tap repository: termide/homebrew-termide
Installation:
brew tap termide/termide
brew install termideNote: Homebrew formula is automatically updated via GitHub Actions when a new release is tagged.
Automated packaging is configured in .github/workflows/release.yml.
On each tag push, the workflow automatically:
- Runs quality checks (fmt, clippy, tests)
- Builds binaries for all platforms (Linux x64/arm64, macOS x64/arm64)
- Creates .deb and .rpm packages
- Uploads all artifacts to GitHub Releases
- Updates AUR packages (termide and termide-bin)
- Updates Homebrew tap formula
Required secrets for automation:
AUR_SSH_KEY- Private SSH key for pushing to AURHOMEBREW_TAP_TOKEN- GitHub PAT with access to homebrew-termide repo
The project includes a flake.nix in the root directory for Nix users.
Build with Nix:
nix buildRun without installing:
nix run github:termide/termide- Version numbers and checksums are automatically updated by GitHub Actions for AUR and Homebrew
- For official repository inclusion (Debian, Fedora, Homebrew Core), additional review processes apply
- NixOS flake.nix needs manual version update in the release process
