Installing fyn
Installation methods
Install fyn with PyPI, GitHub release assets, or your package manager of choice.
Standalone installer
When a release includes standalone installer scripts, download the matching script from the GitHub release page and run it locally:
Changing the execution policy allows running a script from the internet.
Tip
The installation script may be inspected before use:
Alternatively, use pipx install fyn, or download a platform archive directly from
GitHub Releases.
See the reference documentation on the installer for details on customizing your fyn installation.
PyPI
For convenience, fyn is published to PyPI.
If installing from PyPI, we recommend installing fyn into an isolated environment, e.g., with
pipx:
However, pip can also be used:
Note
fyn ships with prebuilt distributions (wheels) for many platforms; if a wheel is not available for a given platform, fyn will be built from source, which requires a Rust toolchain. See the contributing setup guide for details on building fyn from source.
Homebrew
fyn is available in the core Homebrew packages.
MacPorts
fyn is available via MacPorts.
WinGet
fyn is available via WinGet.
Scoop
fyn is available via Scoop.
Docker
fyn provides a Docker image at ghcr.io/oha/fyn.
See our guide on using fyn in Docker for more details.
GitHub Releases
fyn release artifacts can be downloaded directly from GitHub Releases.
Each release page includes binaries for supported platforms, and may also include standalone installer scripts.
Cargo
fyn is available via crates.io.
Note
This method builds fyn from source, which requires a compatible Rust toolchain.
Upgrading fyn
When fyn is installed via the standalone installer, it can update itself on-demand:
Tip
Updating fyn will re-run the installer and can modify your shell profiles. To disable this
behavior, set UV_NO_MODIFY_PATH=1.
When another installation method is used, self-updates are disabled. Use the package manager's
upgrade method instead. For example, with pip:
Shell autocompletion
Tip
You can run echo $SHELL to help you determine your shell.
To enable shell autocompletion for fyn commands, run one of the following:
To enable shell autocompletion for fynx, run one of the following:
Then restart the shell or source the shell config file.
Uninstallation
If you need to remove fyn from your system, follow these steps:
-
Clean up stored data (optional):
Tip
Before removing the binaries, you may want to remove any data that fyn has stored. See the storage reference for details on where fyn stores data.
-
Remove the fyn, fynx, and fynw binaries:
Note
Prior to 0.5.0, fyn was installed into
~/.cargo/bin. The binaries can be removed from there to uninstall. Upgrading from an older version will not automatically remove the binaries from~/.cargo/bin.
Next steps
See the first steps or jump straight to the guides to start using fyn.