Skip to content

About

Turn your built app into Linux packages, macOS disk images, and Windows installers. Publish releases and update distribution recipes from one YAML file.

Topics

Resources

Contributing

Stars

39 stars

Watchers

1 watching

Forks

Repository files navigation

native-packages logo

native-packages

Turn your built application into packages people can install.

Describe your app's files and supported platforms in one YAML file. Then build Linux packages, macOS disk images, or Windows installers, upload them to a GitHub release, and update distribution recipes such as AUR packages and Homebrew casks.

You bring the compiled app. native-packages handles packaging and release updates.

native-packages-launch-film.mp4

Documentation

Get started

Install with Ruby 3.2 or later:

gem install native-packages

From your application directory, create a configuration:

native-packages init --interactive

The setup creates native-packages.yaml with a Linux x86-64 starting point. Review the app's metadata, the path to your compiled files, and the package formats you want. The getting started guide walks through a complete example and the required packaging tools.

Check your setup and build:

native-packages doctor
native-packages build --version 1.2.3

Your packages are in dist/packages/1.2.3/, together with checksums and a build record. Local builds work without a GitHub release or credentials.

What can I build?

Platform Outputs
Linux DEB, RPM, AppImage, Flatpak bundles, snaps, Arch Linux packages, Alpine APK, IPK, and source RPM
macOS DMG, using your packaging script; optional Apple signing and notarization
Windows MSIX, or MSI and Inno Setup installers using your packaging script; optional Azure Artifact Signing

Each target needs files built for that platform. DMG builds run on macOS; MSI and Inno builds run on Windows. See supported platforms for prerequisites and distribution recipes.

Guides

Start with getting started.

For a particular option or error, see the configuration reference, command reference, and troubleshooting guide.

Contributing

See Contributing for development, tests, and running the documentation site locally. Upgrading an older setup? Read the migrate command reference.

License

MIT

About

Turn your built app into Linux packages, macOS disk images, and Windows installers. Publish releases and update distribution recipes from one YAML file.

Topics

Resources

Contributing

Stars

39 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages