Tools inside an app with mise
IDEs and coding agents run whatever you work with: node, python, go, uv, gh, a language server, in the version each project wants. In a sandbox they can’t see the tools installed on your system. FlatPark gives these apps mise, so you install the tools you need inside the app yourself, the same way as with mise on your system. An app that has it says so on its page.
- Each app has its own. What you install in one app is kept in its own
folder,
~/.var/app/<app-id>/, and stays there. Another app doesn’t see it, and uninstalling the app with--delete-dataremoves it too. - It comes with the app. Flatpak installs mise (
org.flatpark.Mise, about 36 MB) with the first app that uses it, and the others share it. - It needs no permission of its own. Tools download through the app’s network access and run with the app’s permissions.
Using it
In the app’s terminal, mise works as its documentation describes:
mise use -g node@24 # install node 24 for this app
mise use [email protected] # in a project: pinned in its mise.toml
mise ls # what is installed, and for what
mise install # install what the configs ask for
mise unuse -g node # remove it again
From your system, the same commands run inside the app with
flatpak run --command=mise <app-id>, for example
flatpak run --command=mise ai.l0ng.openidea ls. That is also the way for an
app without a terminal of its own.
A coding agent runs commands itself, so it can install a tool it is missing
with mise. Tell it to in your instructions for it (an AGENTS.md in the
project, or the app’s own setting for custom instructions), for example:
“When a command-line tool is missing, install it with mise use -g <tool>.”
Some apps suggest tools they use, such as uv for OpenIDEA. The first time mise
runs in the app, the suggestions are added to its mise config; mise install
installs them, and from then on they are yours to change or remove like any
other tool.
Projects
A project’s mise.toml (or .tool-versions) works inside the app as it does
on your system, with three differences that come from the sandbox:
- The app has to see the folder. Most IDEs see your Documents folder;
give access to another place with
flatpak override --user --filesystem=/path/to/projects <app-id>(flatpak override). - Trust it again inside the app. mise asks before it uses a project’s
config, and remembers the answer per app: a project you trusted on your
system is new to the app. Run
mise trustin the project. - Install its tools in the app. Tools installed on your system aren’t
visible in the sandbox. Run
mise installin the project once; until then, a tool the app has never installed is “command not found”.
Switching it off
To make an app run as if mise weren’t there, switch it off and restart the app; your tools stay installed:
flatpak override --user --env=FLATPARK_MISE=off <app-id>
flatpak override --user --env=FLATPARK_MISE=on <app-id> # back on
flatpak run --env=FLATPARK_MISE=off <app-id> # off for one run
Off, a tool runs the app’s or the runtime’s own copy if there is one, or is not found. A feature of the app that uses a tool from mise (OpenIDEA’s Python language servers need uv) stops until you switch it back on.
To remove everything mise installed in an app, switch it off or quit the app,
then delete ~/.var/app/<app-id>/data/mise and
~/.var/app/<app-id>/config/mise.
What mise can’t do
mise installs tools: compilers, runtimes, command-line programs. It doesn’t
install the system libraries and headers that building some code needs, the
-dev packages of a distribution: openssl for a Rust crate, libpq for a
Python database driver, gtk4 for a GUI project. For those:
- The app’s SDK. Most IDEs and agents on FlatPark run on a Flatpak SDK
(freedesktop, GNOME or KDE), which already has a C compiler,
make,pkg-configand the headers of many common libraries. Much of what needs building works for that reason. - Flatpak SDK extensions. Some toolchains come as extensions of that SDK
(
org.freedesktop.Sdk.Extension.*on Flathub: llvm, openjdk, rust and more). An app whose page mentionsFLATPAK_ENABLE_SDK_EXTcan load them.
For agents
The packaging side is toolchains with mise:
how a package declares the extension, the PATH it sets, suggested tools,
and the wrapper that runs every mise and tool call. Its data lives at
/var/data/mise inside the sandbox (~/.var/app/<app-id>/data/mise), its
config in ~/.var/app/<app-id>/config/mise/, with the package’s suggestions
in conf.d/flatpark.toml there and the marker that they were copied in
data/mise/.flatpark-seeded.