Snapcraft lets you build with the tools you already use

With support for many languages out of the box, getting started with Snapcraft can be as simple as installing and running snapcraft.


Publish from your developer workstation

Linux, macOS or Windows

To develop snaps you have Linux support via Snaps, macOS support via homebrew and Windows support via WSL. With whichever OS you’re comfortable with, you can develop and publish snaps.

If you already have an Electron app for Windows and macOS, you only need to make minimal changes to your package.json to build a snap that’s ready to release. Get started with an Electron app.

Learn how to snap an app in 30 minutes


Choose
your language:


Why are snaps good for C/C++ projects?

  • Snaps are easy to discover and install. Millions of users can browse and install snaps graphically in the Snap Store or from the command-line.
  • Snaps install and run the same across Linux. They bundle the exact versions of your app’s dependencies.
  • Snaps automatically update to the latest version. Four times a day, users’ systems will check for new versions and upgrade in the background.
  • Upgrades are not disruptive. Because upgrades are not in-place, users can keep your app open as it’s upgraded in the background.
  • Upgrades are safe. If your app fails to upgrade, users automatically roll back to the previous revision.

In just a few steps, you’ll have an example C/C++ app in the Snap Store.


Here's how DOSBox defines snapcraft.yaml:


Why are snaps good for Electron projects?

  • Snaps are easy to discover and install. Millions of users can browse and install snaps graphically in the Snap Store or from the command-line.
  • Snaps install and run the same across Linux. They bundle Electron and all of your app’s dependencies, be they Node modules or system libraries.
  • Snaps automatically update to the latest version. Four times a day, users’ systems will check for new versions and upgrade in the background.
  • Upgrades are not disruptive. Because upgrades are not in-place, users can keep your app open as it’s upgraded in the background.
  • Upgrades are safe. If your app fails to upgrade, users automatically roll back to the previous revision.

In just a few steps, you’ll have an example Electron app in the Snap Store.


Here's how to use it with Electron quick-start


Why are snaps good for Flutter projects?

  • Snaps are easy to discover and install. Millions of users can browse and install snaps graphically in the Snap Store or from the command-line.
  • Snaps install and run the same across Linux. They bundle the exact versions of your app’s dependencies.
  • Snaps automatically update to the latest version. Four times a day, users’ systems will check for new versions and upgrade in the background.
  • Upgrades are not disruptive. Because upgrades are not in-place, users can keep your app open as it’s upgraded in the background.
  • Upgrades are safe. If your app fails to upgrade, users automatically roll back to the previous revision.

In just a few steps, you’ll have an example Flutter app in the Snap Store.


Here's how my-flutter-app defines snapcraft.yaml:


Why are snaps good for Go projects?

  • Easy to discover and install by millions using the Snap Store or command-line every day
  • Automatically updated to the latest stable version of your app
  • Revert to the previous version if an update fails, preserving data

Programming in Go makes it easy to create a zip of your app that runs across Linux, without dependencies. However, end user discovery and update management remain a challenge. Snaps fill this gap, letting you distribute a Go app in an app store experience for end users.

In just a few steps, you’ll have an example Go app in the Snap Store.


Here’s how Woke defines snapcraft.yaml:


Why are snaps good for Java projects?

  • Simplify installation instructions, regardless of distribution, to snap install myjavaapp.
  • Directly control the delivery of automatic application updates.

Distributing a Java application for Linux and reaching the widest possible audience is complicated. Typically, the user has to make sure the JRE/SDK version and their environment are configured correctly. When a Linux distribution changes the delivered JRE, this can be problematic for applications. Snapcraft ensures the correct JRE is shipped alongside the application at all times.

In just a few steps, you’ll have an example Java app in the Snap Store.


Here's how Freeplane defines snapcraft.yaml:


Why are snaps good for MOOS projects?

  • Bundle all the runtime requirements, including the exact version of MOOS/MOOS-IvP and system libraries you need.
  • Directly and reliably control the delivery of application updates using existing infrastructure.
  • Upgrades are safe. If your app fails to upgrade, users automatically roll back to the previous revision.
  • Extremely simple creation of daemons.

In just a few steps, you’ll have an example MOOS app in the Snap Store.


Here's an example snapcraft.yaml that uses MOOS:


Why are snaps good for Node.js projects?

  • Easy to discover and install by millions using the Snap Store or command-line every day.
  • Automatically updated to the latest stable version of your app.
  • Revert to the previous version if an update fails, preserving data.

With npm you can distribute apps to other developers, but it’s not tailored to end users. Snaps let you distribute your Node app in an app store experience.

In just a few steps, you’ll have an example Node.js app in the Snap Store.


Here's how wethr defines snapcraft.yaml:


Why are snaps good for pre-built apps?

  • Easy to discover and install by millions using the Snap Store or command-line every day
  • Automatically updated to the latest stable version of your app
  • Revert to the previous version if an update fails, preserving data
  • Isolation ensures no conflicts between applications
  • Identical behaviour across Linux distributions, even with library dependencies

Distributing the Linux build of your app as a zip lets you provide one download and set of instructions for all of Linux. However, end user discovery and update management remain a challenge. Snaps fill this gap, letting you wrap your existing Linux build in an app store experience for end users.

In just a few steps, you’ll have an example pre-built app in the Snap Store.


How geekbench 4 defines snapcraft.yaml


Why are snaps good for Python projects?

  • Easy to discover and install by millions using the Snap Store or command-line every day
  • Automatically updated to the latest stable version of your app
  • Revert to the previous version if an update fails, preserving data
  • Isolation ensures no conflicts between applications
  • Identical behaviour across Linux distributions, even with library dependencies

With PyPI you can distribute apps to other developers, but it’s not tailored to end users. Virtualenv lets you install an app’s dependencies in isolation, but it’s not automatically used for installs from PyPI. Snaps let you distribute a dependency-isolated Python app in an app store experience for end users.

In just a few steps, you’ll have an example Python app in the Snap Store.


Here's how liquidctl defines snapcraft.yaml:


Why are snaps good for ROS projects?

  • Bundle all the runtime requirements, including the exact version of ROS and system libraries you need.
  • Expand the distributions supported beyond just Ubuntu.
  • Directly and reliably control the delivery of application updates using existing infrastructure.
  • Extremely simple creation of daemons.

In just a few steps, you’ll have an example ROS app in the Snap Store.


Here's an example snapcraft.yaml that uses ROS:


Why are snaps good for ROS2 projects?

  • Bundle all the runtime requirements, including the exact version of ROS and system libraries you need.
  • Expand the distributions supported beyond just Ubuntu.
  • Directly and reliably control the delivery of application updates using existing infrastructure.
  • Extremely simple creation of daemons.

In just a few steps, you’ll have an example ROS2 app in the Snap Store.


Here's an example snapcraft.yaml that uses ROS2:


Why are snaps good for Ruby projects?

  • Bundle all the runtime requirements.
  • Simplify installation instructions, regardless of distribution, to snap install myrubyapp.
  • Directly control the delivery of automatic application updates.
  • Extremely simple creation of services.

Linux install instructions for Ruby applications often get complicated. To prevent modules from different Ruby applications clashing with each other, developer tools like rvm or rbenv must be used. With snapcraft, it’s one command to produce a bundle that works anywhere.

In just a few steps, you’ll have an example Ruby app in the Snap Store.


Here’s how Markdown lint tool uses it:


Why are snaps good for Rust projects?

  • Easy to discover and install by millions using the Snap Store or command-line every day.
  • Automatically updated to the latest stable version of your app.
  • Revert to the previous version if an update fails, preserving data.

You can distribute your apps across Linux using a musl-enabled version of Rust, with all the dependencies satisfied. However, end user discovery and update management remain a challenge. Snaps fill this gap, letting you distribute a Rust app in an app store experience for end users.

In just a few steps, you’ll have an example Rust app in the Snap Store.


Here's how XSV defines snapcraft.yaml:

Publish with our Build service

Build for multiple architectures from a single GitHub commit

Building your snap locally limits you to your development architecture. Let us do the heavy lifting and build it for multiple architectures including AMD64, i386, ARM and ARM64.

Behind the scenes, snaps are built by Launchpad the tool used to build all Ubuntu images. When your builds are ready, you can release them together, as a set, ensuring everyone on all architectures receive the same version at the same time.

Find out more

Publish with a third party CI system

Travis CI, Circle CI and GitHub Actions are all supported

If you’re already comfortable with a third party CI workflow Snaps are supported there too. You don’t need to change or modify anything if you don’t want to.

Publish with Travis CI
Publish with Circle CI
Publish with GitHub Actions

Publish with your own infrastructure

Trave CI, Circle CI and GitHub Actions are all supported

Already have a build farm, for all the architectures you need? The Publisher Gateway APIs let you automate everything from uploading and releasing a Snap, to adding screenshots to display in the Storefront.