Installing and running Flatlake

Flatlake is a static binary with no dynamic dependencies, so in most cases will be simple to install and run. Flatlake is currently supported on Windows, macOS, and Linux distributions.

#Running via npx

npx flatlake

Flatlake publishes a wrapper package through npm, which is the easiest way to get started. This package will download the correct binary of the latest release as an npm dependency for your platform and run it.

Specific versions can be run by passing a version tag:

npx flatlake@latest

npx flatlake@v0.1.0

#Downloading a precompiled binary

If you prefer to install Flatlake yourself, you can download a precompiled release from GitHub and run the binary directly:

./flatlake

#Building from source

If you have Rust and Cargo installed, you can run cargo install flatlake to build from source.

cargo install flatlake
flatlake