The install script detects your OS and CPU architecture and installs Flox
with the best method available on your machine. It supports MacOS,
Debian, and Red Hat-based Linux distributions, on x86_64 and aarch64.
curl -fsSL https://get.flox.dev | sh
The script picks the install method that matches your platform:
On MacOS, it downloads and runs the .pkg installer.
On Debian and Ubuntu-family systems, it installs the .deb package
with apt.
On Fedora and RHEL-family systems, it installs the .rpm package
with dnf or yum.
If Flox is already installed, the script makes no changes and instead
prints the upgrade command for your package manager.
Privileged commands are shown before they runBefore using sudo, the script prints the exact commands it is about
to run with elevated privileges, so you know what you are agreeing to.
You may be prompted for your sudo password.
Here is what an install looks like on Ubuntu:
$ curl -fsSL https://get.flox.dev | sh==> Resolving the latest Flox version (stable channel)...==> Installing Flox 1.14.0 for x86_64-linux==> Downloading https://downloads.flox.dev/by-env/stable/deb/flox-1.14.0.x86_64-linux.deb==> The following commands will be run with sudo: sudo apt-get install -y /tmp/flox-install.XXXXXX/flox-1.14.0.x86_64-linux.deb==> Installing the .deb package with apt...
The script does not upgrade an existing installation. Re-running it on a
system that already has Flox prints the upgrade command for your package
manager, for example:
The script does not install Flox through Nix, and it will not modify
your existing Nix installation. When it detects Nix (the nix command
or a populated /nix/store), it stops and points you to the
Nix tab, which covers installing Flox with an existing Nix.
Which systems does the script refuse to run on?
The script refuses to run on systems where the native packages are
untested: immutable (ostree-based) distributions such as Fedora
Silverblue or CoreOS, openSUSE/SLES, and RPM-family systems without
dnf or yum. On those systems, install Nix first and then follow the
Nix tab instructions.
NoteWith either method you may be prompted for a sudo password or be asked if your terminal has authorization to modify disk contents.
This will replace an existing Nix installation
Flox will reconfigure an existing Nix installation. These changes are designed to improve the overall user experience and make the Nix installation more reliable and easier to support, but it’s worth noting that anyone wishing to revert to a “vanilla” Nix installation after installing Flox will need to re-install Nix.If you want retain full control of your Nix installation, see the Nix tab instructions.When installing over a previous installation of Nix the Flox installation
will:
Back out customizations made to the following files when Nix was
installed:
/etc/bashrc
/etc/bash.bashrc
/etc/profile.d/nix.sh
/etc/zshrc
/etc/zsh/zshrc
Overwrite the system-wide /etc/nix/nix.conf
(If applicable) convert the Nix installation to a multi-user install
Reconfigure the nix-daemon invocation
If you are installing over a previous installation of Nix we suggest that you install Flox to a test machine or VM to gain familiarity with it first.The version of Nix installed by Flox tracks the stable version of Nix in nixpkgs, occasionally adding additional backports or patches.
Nix is usually updated monthly, although if Nix makes breaking changes, updates may be less frequent.
Flox will reconfigure an existing Nix installation. These changes are designed to improve the overall user experience and make the Nix installation more reliable and easier to support, but it’s worth noting that anyone wishing to revert to a “vanilla” Nix installation after installing Flox will need to re-install Nix.If you want retain full control of your Nix installation, see the Nix tab instructions.When installing over a previous installation of Nix the Flox installation
will:
Back out customizations made to the following files when Nix was
installed:
/etc/bashrc
/etc/bash.bashrc
/etc/profile.d/nix.sh
/etc/zshrc
/etc/zsh/zshrc
Overwrite the system-wide /etc/nix/nix.conf
(If applicable) convert the Nix installation to a multi-user install
Reconfigure the nix-daemon invocation
If you are installing over a previous installation of Nix we suggest that you install Flox to a test machine or VM to gain familiarity with it first.The version of Nix installed by Flox tracks the stable version of Nix in nixpkgs, occasionally adding additional backports or patches.
Nix is usually updated monthly, although if Nix makes breaking changes, updates may be less frequent.
Flox will reconfigure an existing Nix installation. These changes are designed to improve the overall user experience and make the Nix installation more reliable and easier to support, but it’s worth noting that anyone wishing to revert to a “vanilla” Nix installation after installing Flox will need to re-install Nix.If you want retain full control of your Nix installation, see the Nix tab instructions.When installing over a previous installation of Nix the Flox installation
will:
Back out customizations made to the following files when Nix was
installed:
/etc/bashrc
/etc/bash.bashrc
/etc/profile.d/nix.sh
/etc/zshrc
/etc/zsh/zshrc
Overwrite the system-wide /etc/nix/nix.conf
(If applicable) convert the Nix installation to a multi-user install
Reconfigure the nix-daemon invocation
If you are installing over a previous installation of Nix we suggest that you install Flox to a test machine or VM to gain familiarity with it first.The version of Nix installed by Flox tracks the stable version of Nix in nixpkgs, occasionally adding additional backports or patches.
Nix is usually updated monthly, although if Nix makes breaking changes, updates may be less frequent.
Which install method for existing Nix installation?Use the Flox installer for your system to allow some opinionated configuration of Nix, or use these generic Nix instructions for full control of your Nix installation.
Make sure you are running Nix version 2.18.0 or greater, then install
Flox imperatively with nix profile install or
declaratively as part of a flake-based
configuration.
Configure SubstitutersAdd the following values to /etc/nix/nix.conf, taking care to merge them
with any trusted-substituters or trusted-public-keys values that may
already be defined:
If you encounter the following error then please upgrade your Nix
installation (and in particular the running nix-daemon) to the latest
version (minimum supported version is 2.18.0):
error: builder for '/nix/store/35l1qqyis11y88ic0cp3yxgv3286l4pb-flox-0.0.2-r295.drv' failed with exit code 1; last 1 log lines: > error: attribute 'requisites' missing
If you encounter any other errors with the installer please report the
bug by way of discourse, including
a full copy of the command invoked and error encountered.
The following example is for a Nix darwin installation.
You may need to modify inputs to match your system.
Using Flox's binary cache
Flox hosts a binary cache for its packages, that can be added to your /etc/nix/nix.conf file.
We recommend doing this if you are installing Flox system-wide.
Or, to your flake configuration by using the nixConfig attribute.
This will ensure that Flox’s binary cache is used for all operation within that flake.
Note that if you don’t add either of these options, Flox will be built from source, together with a patched version of Nix.
Which might take a while on less powerful systems.
Run nix-darwin to install the configuration and packages you’ve declared.
This is an example on nix-darwin: nix run nix-darwin -- switch --flake ~/path/to/flake
Flox hasn’t been tested alongside Determinate
Nix, which installs
its own nix-daemon fork. The supported path is to uninstall
Determinate Nix first, then install Flox fresh using one of the other methods on this page.
Uninstall Determinate Nix:
/nix/nix-installer uninstall
Then pick the tab above for your OS (or follow the Generic
Nix instructions above if you’d rather install upstream
Nix yourself first).
Or, if you’ve declared Flox using a flake, run nix flake update.On NixOS, if you’ve declared Flox in your system configuration, update
the flake input and run sudo nixos-rebuild switch.
If you have Docker installed then you can also run flox in a container to
try it out before installing on your system.
If the following command returns without error then you’re ready to get
started!
$ flox --version1.19.4
The version you see might be different.
Support for WSL 2 is experimental.
Install WSL 2Please install and configure WSL version 2 as described in the
Microsoft Learn Install
WSL
guide before installing Flox. Please also ensure the
state
(whether the distribution is running or stopped) is running.Note that installation will fail on WSL 1.
Microsoft provides several Linux distributions for use with WSL and will
use Ubuntu by default. Use the following commands to run and manage your
chosen distribution:
list installed distributions: wsl --list
run specified distribution: wsl --distribution <name>
list all available distributions: wsl --list --online
install distribution: wsl --install -d <name>
terminate distribution: wsl --terminate <name>
unregister and delete distribution: wsl --unregister <name>
Ignore warning about systemdYou will encounter the following warning during the installation:
---- warning! ------------------------------------------------------------------We did not detect systemd on your system. With a multi-user installwithout systemd you will have to manually configure your init system tolaunch the Nix daemon after installation.
You can disregard this message as we will be configuring the
nix-daemon to start automatically in the next section.
Once Flox has been installed on your WSL distribution the nix-daemon will
need to be automatically started as you start your WSL instance.Run the following command to add the necessary logic to invoke nix-daemon
by way of your ~/.bashrc file:
cat >> ~/.bashrc <<EOF( wsl.exe -d $WSL_DISTRO_NAME -u root service nix-daemon status 2>&1 >/dev/null ) || wsl.exe -d $WSL_DISTRO_NAME -u root service nix-daemon startEOF
Then restart your WSL shell (or start another) and run the following
command to ensure that the nix-daemon is working correctly:
nix --extra-experimental-features nix-command store ping
Please follow the instructions provided on either the Debian or RPM tab
(whichever matches the existing Linux Distribution installed with your
WSL) to update to latest version of Flox.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Flox","colors":{"primary":"#8D45FF","light":"#B080FF","dark":"#6F2BFF"},"logo":{"light":"https://mintcdn.com/flox/TGd54292LI04fuY9/logo/light.svg?fit=max\u0026auto=format\u0026n=TGd54292LI04fuY9\u0026q=85\u0026s=a68dffe97384d4c4af5850b2c4ab2d6c","dark":"https://mintcdn.com/flox/TGd54292LI04fuY9/logo/dark.svg?fit=max\u0026auto=format\u0026n=TGd54292LI04fuY9\u0026q=85\u0026s=68e026fe8b554722bc75b10ffd73d7aa"},"favicon":"https://mintcdn.com/flox/TGd54292LI04fuY9/favicon.ico?fit=max\u0026auto=format\u0026n=TGd54292LI04fuY9\u0026q=85\u0026s=07df64850f2e53778fafc31eb4a4cfbc","api":{"playground":{"proxy":false}},"appearance":{"default":"light"},"navbar":{"primary":{"type":"button","label":"Go to FloxHub","href":"https://hub.flox.dev"}},"footer":{"socials":{"github":"https://github.com/flox/flox","x":"https://twitter.com/floxdevelopment","linkedin":"https://www.linkedin.com/company/floxdev","youtube":"https://www.youtube.com/@floxdev","slack":"https://go.flox.dev/slack"}},"seo":{"metatags":{"canonical":"https://flox.dev/docs"}},"fonts":{"heading":{"family":"Geist"},"body":{"family":"Geist"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"flox","hasAudioNarration":false,"actualSubdomain":"flox","customDomains":["flox.dev"],"gitSource":{"type":"github","owner":"flox","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aea1746b0f3e6b97b8aa134","collectionId":"087357fa-b634-4166-be14-30543374a349","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aea1746b0f3e6b97b8aa134"},"feedback":{"edits":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aeced083e2056ea29579166","clientVersion":"0.0.4071","searchFilterCounts":[{"language":"default","tag":"Documentation","count":70},{"language":"default","tag":"CLI reference","count":37},{"language":"default","tag":"Concepts","count":27},{"language":"default","tag":"Tutorials","count":17},{"language":"default","tag":"Imageless Kubernetes","count":10},{"language":"default","tag":"Languages","count":7},{"language":"default","tag":"Build \u0026 Publish","count":7},{"language":"default","tag":"Packages","count":7},{"language":"default","tag":"Installation","count":5},{"language":"default","tag":"Environments","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"install-flox/install","slug":"/install-flox/install","pageMetadata":{"title":"Install Flox","description":"How to install or upgrade the Flox CLI","href":"/install-flox/install"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"How to install or upgrade the Flox CLI\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,hr:`hr`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,Heading,Info,Note,Tab,Tabs,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Verify your download`})}),_jsxs(_components.p,{children:[`You can find the\n`,_jsx(_components.a,{href:`https://downloads.flox.dev/by-env/stable/flox-1.19.4.SHA256SUMS`,children:`SHA256 checksums`}),` and\n`,_jsx(_components.a,{href:`https://downloads.flox.dev/by-env/stable/flox-1.19.4.SHA512SUMS`,children:`SHA512 checksums`}),` for\nFlox 1.19.4 online.`]})]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Install Script`,id:`install-script`,\"data-child-heading-ids\":`[\"install-with-one-command\",\"pin-a-channel-or-version\",\"verify-flox-installation\",\"upgrade-existing-flox-installation\",\"faq\"]`,children:[_jsx(Heading,{level:`2`,id:`install-with-one-command`,children:`Install with one command`}),_jsxs(_components.p,{children:[`The install script detects your OS and CPU architecture and installs Flox\nwith the best method available on your machine. It supports MacOS,\nDebian, and Red Hat-based Linux distributions, on `,_jsx(_components.code,{children:`x86_64`}),` and `,_jsx(_components.code,{children:`aarch64`}),`.`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://get.flox.dev`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` sh`})]}),`\n`]})})}),_jsx(_components.p,{children:`The script picks the install method that matches your platform:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`On MacOS, it downloads and runs the `,_jsx(_components.code,{children:`.pkg`}),` installer.`]}),`\n`,_jsxs(_components.li,{children:[`On Debian and Ubuntu-family systems, it installs the `,_jsx(_components.code,{children:`.deb`}),` package\nwith `,_jsx(_components.code,{children:`apt`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`On Fedora and RHEL-family systems, it installs the `,_jsx(_components.code,{children:`.rpm`}),` package\nwith `,_jsx(_components.code,{children:`dnf`}),` or `,_jsx(_components.code,{children:`yum`}),`.`]}),`\n`]}),_jsx(_components.p,{children:`If Flox is already installed, the script makes no changes and instead\nprints the upgrade command for your package manager.`}),_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Privileged commands are shown before they run`})}),_jsxs(_components.p,{children:[`Before using `,_jsx(_components.code,{children:`sudo`}),`, the script prints the exact commands it is about\nto run with elevated privileges, so you know what you are agreeing to.\nYou may be prompted for your `,_jsx(_components.code,{children:`sudo`}),` password.`]})]}),_jsx(_components.p,{children:`Here is what an install looks like on Ubuntu:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`shellsession`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellsession`,children:_jsxs(_components.code,{language:`shellsession`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$ curl -fsSL https://get.flox.dev `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`|`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` sh`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`==> Resolving the latest Flox version (stable channel)...`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`==> Installing Flox 1.14.0 for x86_64-linux`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`==> Downloading https://downloads.flox.dev/by-env/stable/deb/flox-1.14.0.x86_64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`==> The following commands will be run with sudo:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:` sudo apt-get install -y /tmp/flox-install.XXXXXX/flox-1.14.0.x86_64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`==> Installing the .deb package with apt`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`...`})}),`\n`]})})}),_jsx(Heading,{level:`2`,id:`pin-a-channel-or-version`,children:`Pin a channel or version`}),_jsx(_components.p,{children:`The script honors two environment variables:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://get.flox.dev`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` FLOX_CHANNEL`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`channel`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` sh`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -fsSL`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://get.flox.dev`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` |`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` FLOX_VERSION`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`version`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:` sh`})]}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.code,{children:`FLOX_CHANNEL`}),` (default `,_jsx(_components.code,{children:`stable`}),`) selects the release channel.\n`,_jsx(_components.code,{children:`FLOX_VERSION`}),` pins an exact version instead of the channel’s latest.`]}),_jsx(Heading,{level:`2`,id:`verify-flox-installation`,children:`Verify Flox installation`}),_jsx(_components.p,{children:`If the following command returns without error then you’re ready to get\nstarted!`}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellsession`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellsession`,children:_jsxs(_components.code,{language:`shellsession`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$ flox --version`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`1.14.0`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})}),_jsx(_components.p,{children:`The version you see might be different.`}),_jsx(Heading,{level:`2`,id:`upgrade-existing-flox-installation`,children:`Upgrade existing Flox installation`}),_jsx(_components.p,{children:`The script does not upgrade an existing installation. Re-running it on a\nsystem that already has Flox prints the upgrade command for your package\nmanager, for example:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` apt-get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` update`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` \u0026\u0026 `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`sudo`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` apt-get`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --only-upgrade`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` flox`})]}),`\n`]})})}),_jsx(Heading,{level:`2`,id:`faq`,children:`FAQ`}),_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`What happens if Nix is already installed?`,id:`what-happens-if-nix-is-already-installed`,children:_jsxs(_components.p,{children:[`The script does not install Flox through Nix, and it will not modify\nyour existing Nix installation. When it detects Nix (the `,_jsx(_components.code,{children:`nix`}),` command\nor a populated `,_jsx(_components.code,{children:`/nix/store`}),`), it stops and points you to the\n`,_jsx(_components.a,{href:`#nix`,children:`Nix`}),` tab, which covers installing Flox with an existing Nix.`]})}),_jsx(Accordion,{title:`Which systems does the script refuse to run on?`,id:`which-systems-does-the-script-refuse-to-run-on`,children:_jsxs(_components.p,{children:[`The script refuses to run on systems where the native packages are\nuntested: immutable (ostree-based) distributions such as Fedora\nSilverblue or CoreOS, openSUSE/SLES, and RPM-family systems without\n`,_jsx(_components.code,{children:`dnf`}),` or `,_jsx(_components.code,{children:`yum`}),`. On those systems, install Nix first and then follow the\n`,_jsx(_components.a,{href:`#nix`,children:`Nix`}),` tab instructions.`]})})]})]}),_jsxs(Tab,{title:`MacOS`,id:`macos`,\"data-child-heading-ids\":`[\"pkg-installer\",\"homebrew\",\"verify-flox-installation-2\",\"upgrade-existing-flox-installation-2\"]`,children:[_jsxs(_components.p,{children:[`Install Flox with the standalone `,_jsxs(_components.a,{href:`#pkg-installer`,children:[_jsx(_components.code,{children:`.pkg`}),` installer`]}),` or\nwith `,_jsx(_components.a,{href:`#homebrew`,children:`Homebrew`}),`.`]}),_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Note`})}),_jsxs(_components.p,{children:[`With either method you may be prompted for a `,_jsx(_components.code,{children:`sudo`}),` password or be asked if your terminal has authorization to modify disk contents.`]})]}),_jsxs(Accordion,{title:`This will replace an existing Nix installation`,id:`this-will-replace-an-existing-nix-installation`,children:[_jsxs(_components.p,{children:[`Flox will reconfigure an existing Nix installation. These changes are designed to improve the overall user experience and make the Nix installation more reliable and easier to support, but it’s worth noting that `,_jsx(_components.strong,{children:`anyone wishing to revert to a “vanilla” Nix installation after installing Flox will need to re-install Nix`}),`.`]}),_jsxs(_components.p,{children:[`If you want retain full control of your Nix installation, see the `,_jsx(_components.a,{href:`#nix`,children:`Nix`}),` tab instructions.`]}),_jsx(_components.hr,{}),_jsx(_components.p,{children:`When installing over a previous installation of Nix the Flox installation\nwill:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Back out customizations made to the following files when Nix was\ninstalled:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/bashrc`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/bash.bashrc`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/profile.d/nix.sh`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/zshrc`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/zsh/zshrc`})}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Overwrite the system-wide `,_jsx(_components.code,{children:`/etc/nix/nix.conf`})]}),`\n`,_jsx(_components.li,{children:`(If applicable) convert the Nix installation to a multi-user install`}),`\n`,_jsxs(_components.li,{children:[`Reconfigure the `,_jsx(_components.code,{children:`nix-daemon`}),` invocation`]}),`\n`]}),_jsx(_components.p,{children:`If you are installing over a previous installation of Nix we suggest that you install Flox to a test machine or VM to gain familiarity with it first.`}),_jsx(_components.p,{children:`The version of Nix installed by Flox tracks the stable version of Nix in nixpkgs, occasionally adding additional backports or patches.\nNix is usually updated monthly, although if Nix makes breaking changes, updates may be less frequent.`})]}),_jsx(Heading,{level:`2`,id:`pkg-installer`,children:`Pkg installer`}),_jsx(_components.p,{children:`Download and install the package that matches your machine’s architecture.`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Download installer for Macs with`}),`\n`,_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Apple Silicon`,icon:`apple`,href:`https://downloads.flox.dev/by-env/stable/osx/flox-1.19.4.aarch64-darwin.pkg`,children:_jsx(_components.p,{children:`aarch64-darwin`})}),_jsx(Card,{title:`Intel processors`,icon:`microchip`,href:`https://downloads.flox.dev/by-env/stable/osx/flox-1.19.4.x86_64-darwin.pkg`,children:_jsx(_components.p,{children:`x86_64-darwin`})})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Double-click to install the downloaded file`}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Open a terminal window to continue below`}),`\n`]}),`\n`]}),_jsx(Heading,{level:`2`,id:`homebrew`,children:`Homebrew`}),_jsx(_components.p,{children:`In your terminal run:`}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`brew install flox`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(Heading,{level:`2`,id:`verify-flox-installation-2`,children:`Verify Flox installation`}),_jsx(_components.p,{children:`If the following command returns without error then you’re ready to get\nstarted!`}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellsession`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellsession`,children:_jsxs(_components.code,{language:`shellsession`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$ flox --version`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`1.19.4`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})}),_jsx(_components.p,{children:`The version you see might be different.`}),_jsx(Heading,{level:`2`,id:`upgrade-existing-flox-installation-2`,children:`Upgrade existing Flox installation`}),_jsxs(_components.p,{children:[`If you installed with the `,_jsx(_components.code,{children:`.pkg`}),` installer, download and install the\nlatest package as described above. If you installed with Homebrew:`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`brew upgrade flox`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Tab,{title:`Debian`,id:`debian`,\"data-child-heading-ids\":`[\"download-and-install-the-package\",\"verify-flox-installation-3\",\"upgrade-existing-flox-installation-3\"]`,children:[_jsx(_components.p,{children:`For use on Debian, Ubuntu, and other Debian-based distributions.`}),_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Note`})}),_jsxs(_components.p,{children:[`The package will register a new source in `,_jsx(_components.code,{children:`/etc/apt/sources.list.d`}),` to enable upgrades via `,_jsx(_components.code,{children:`apt`}),`.`]})]}),_jsx(Heading,{level:`2`,id:`download-and-install-the-package`,children:`Download and install the package`}),_jsx(_components.p,{children:`Run the command for your system architecture:`}),_jsx(_components.p,{children:`64-bit Intel/AMD:`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -LO https://downloads.flox.dev/by-env/stable/deb/flox-1.19.4.x86_64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo apt install ./flox-1.19.4.x86_64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`64-bit ARM:`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -LO https://downloads.flox.dev/by-env/stable/deb/flox-1.19.4.aarch64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo apt install ./flox-1.19.4.aarch64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(Accordion,{title:`This will replace an existing Nix installation`,id:`this-will-replace-an-existing-nix-installation-1`,children:[_jsxs(_components.p,{children:[`Flox will reconfigure an existing Nix installation. These changes are designed to improve the overall user experience and make the Nix installation more reliable and easier to support, but it’s worth noting that `,_jsx(_components.strong,{children:`anyone wishing to revert to a “vanilla” Nix installation after installing Flox will need to re-install Nix`}),`.`]}),_jsxs(_components.p,{children:[`If you want retain full control of your Nix installation, see the `,_jsx(_components.a,{href:`#nix`,children:`Nix`}),` tab instructions.`]}),_jsx(_components.hr,{}),_jsx(_components.p,{children:`When installing over a previous installation of Nix the Flox installation\nwill:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Back out customizations made to the following files when Nix was\ninstalled:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/bashrc`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/bash.bashrc`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/profile.d/nix.sh`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/zshrc`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/zsh/zshrc`})}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Overwrite the system-wide `,_jsx(_components.code,{children:`/etc/nix/nix.conf`})]}),`\n`,_jsx(_components.li,{children:`(If applicable) convert the Nix installation to a multi-user install`}),`\n`,_jsxs(_components.li,{children:[`Reconfigure the `,_jsx(_components.code,{children:`nix-daemon`}),` invocation`]}),`\n`]}),_jsx(_components.p,{children:`If you are installing over a previous installation of Nix we suggest that you install Flox to a test machine or VM to gain familiarity with it first.`}),_jsx(_components.p,{children:`The version of Nix installed by Flox tracks the stable version of Nix in nixpkgs, occasionally adding additional backports or patches.\nNix is usually updated monthly, although if Nix makes breaking changes, updates may be less frequent.`})]}),_jsx(Heading,{level:`2`,id:`verify-flox-installation-3`,children:`Verify Flox installation`}),_jsx(_components.p,{children:`If the following command returns without error then you’re ready to get\nstarted!`}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellsession`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellsession`,children:_jsxs(_components.code,{language:`shellsession`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$ flox --version`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`1.19.4`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})}),_jsx(_components.p,{children:`The version you see might be different.`}),_jsx(Heading,{level:`2`,id:`upgrade-existing-flox-installation-3`,children:`Upgrade existing Flox installation`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo apt update;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo apt --only-upgrade install flox`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Tab,{title:`RPM`,id:`rpm`,\"data-child-heading-ids\":`[\"download-and-install-the-package-2\",\"verify-flox-installation-4\",\"upgrade-existing-flox-installation-4\"]`,children:[_jsx(_components.p,{children:`For use on RedHat, CentOS, Amazon Linux, and other RPM-based distributions.`}),_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Note`})}),_jsxs(_components.p,{children:[`The rpm will register a package repository in `,_jsx(_components.code,{children:`/etc/yum.repos.d`}),` to enable upgrades.\nvia `,_jsx(_components.code,{children:`yum`}),`, `,_jsx(_components.code,{children:`dnf`}),` and other compatible tools.`]})]}),_jsx(Heading,{level:`2`,id:`download-and-install-the-package-2`,children:`Download and install the package`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Import the Flox archive keyring:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo rpm --import https://downloads.flox.dev/by-env/stable/rpm/flox-archive-keyring.asc`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Run the command for your system architecture:`}),`\n`,_jsx(_components.p,{children:`64-bit Intel/AMD:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -LO https://downloads.flox.dev/by-env/stable/rpm/flox-1.19.4.x86_64-linux.rpm`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo rpm -ivh ./flox-1.19.4.x86_64-linux.rpm`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`64-bit ARM:`}),`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -LO https://downloads.flox.dev/by-env/stable/rpm/flox-1.19.4.aarch64-linux.rpm`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo rpm -ivh ./flox-1.19.4.aarch64-linux.rpm`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`]}),_jsxs(Accordion,{title:`This will replace an existing Nix installation`,id:`this-will-replace-an-existing-nix-installation-2`,children:[_jsxs(_components.p,{children:[`Flox will reconfigure an existing Nix installation. These changes are designed to improve the overall user experience and make the Nix installation more reliable and easier to support, but it’s worth noting that `,_jsx(_components.strong,{children:`anyone wishing to revert to a “vanilla” Nix installation after installing Flox will need to re-install Nix`}),`.`]}),_jsxs(_components.p,{children:[`If you want retain full control of your Nix installation, see the `,_jsx(_components.a,{href:`#nix`,children:`Nix`}),` tab instructions.`]}),_jsx(_components.hr,{}),_jsx(_components.p,{children:`When installing over a previous installation of Nix the Flox installation\nwill:`}),_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Back out customizations made to the following files when Nix was\ninstalled:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/bashrc`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/bash.bashrc`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/profile.d/nix.sh`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/zshrc`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.code,{children:`/etc/zsh/zshrc`})}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`Overwrite the system-wide `,_jsx(_components.code,{children:`/etc/nix/nix.conf`})]}),`\n`,_jsx(_components.li,{children:`(If applicable) convert the Nix installation to a multi-user install`}),`\n`,_jsxs(_components.li,{children:[`Reconfigure the `,_jsx(_components.code,{children:`nix-daemon`}),` invocation`]}),`\n`]}),_jsx(_components.p,{children:`If you are installing over a previous installation of Nix we suggest that you install Flox to a test machine or VM to gain familiarity with it first.`}),_jsx(_components.p,{children:`The version of Nix installed by Flox tracks the stable version of Nix in nixpkgs, occasionally adding additional backports or patches.\nNix is usually updated monthly, although if Nix makes breaking changes, updates may be less frequent.`})]}),_jsx(Heading,{level:`2`,id:`verify-flox-installation-4`,children:`Verify Flox installation`}),_jsx(_components.p,{children:`If the following command returns without error then you’re ready to get\nstarted!`}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellsession`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellsession`,children:_jsxs(_components.code,{language:`shellsession`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$ flox --version`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`1.19.4`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})}),_jsx(_components.p,{children:`The version you see might be different.`}),_jsx(Heading,{level:`2`,id:`upgrade-existing-flox-installation-4`,children:`Upgrade existing Flox installation`}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo yum update flox`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`or`}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo dnf update flox`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Tab,{title:`Nix`,id:`nix`,\"data-child-heading-ids\":`[\"generic-nix\",\"install-imperatively\",\"install-declaratively\",\"nixos\",\"determinate-nix\",\"verify-flox-installation-5\",\"upgrade-existing-flox-installation-5\"]`,children:[_jsx(_components.p,{children:`These instructions cover installing Flox on systems that already have\nNix installed. Pick your setup:`}),_jsxs(CardGroup,{cols:3,children:[_jsx(Card,{title:`Generic Nix`,href:`#generic-nix`,children:_jsx(_components.p,{children:`You keep full control of your Nix installation.`})}),_jsx(Card,{title:`NixOS`,href:`#nixos`,children:_jsx(_components.p,{children:`Add Flox to your system configuration.`})}),_jsx(Card,{title:`Determinate Nix`,href:`#determinate-nix`,children:_jsx(_components.p,{children:`Not yet supported — uninstall it first.`})})]}),_jsx(Heading,{level:`2`,id:`generic-nix`,children:`Generic Nix`}),_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Which install method for existing Nix installation?`})}),_jsx(_components.p,{children:`Use the Flox installer for your system to allow some opinionated configuration of Nix, or use these generic Nix instructions for full control of your Nix installation.`})]}),_jsxs(_components.p,{children:[`Make sure you are running Nix version `,_jsx(_components.code,{children:`2.18.0`}),` or greater, then install\nFlox `,_jsx(_components.a,{href:`#install-imperatively`,children:`imperatively`}),` with `,_jsx(_components.code,{children:`nix profile install`}),` or\n`,_jsx(_components.a,{href:`#install-declaratively`,children:`declaratively`}),` as part of a flake-based\nconfiguration.`]}),_jsx(Heading,{level:`3`,id:`install-imperatively`,children:`Install imperatively`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsx(_components.p,{children:`Configure Substituters`}),`\n`,_jsxs(_components.p,{children:[`Add the following values to `,_jsx(_components.code,{children:`/etc/nix/nix.conf`}),`, taking care to merge them\nwith any `,_jsx(_components.code,{children:`trusted-substituters`}),` or `,_jsx(_components.code,{children:`trusted-public-keys`}),` values that may\nalready be defined:`]}),`\n`,_jsx(CodeBlock,{filename:`/etc/nix/nix.conf`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`extra-trusted-substituters`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://cache.flox.dev`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`extra-trusted-public-keys`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` floxhub-1:0QOAlcobcEvq1mqEf4qAYCaWnTTOXpyoRv/PmqfSixM=`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Then restart the `,_jsx(_components.code,{children:`nix-daemon`}),`, if applicable:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Linux:`,`\n`,_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo systemctl stop nix-daemon.service`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo systemctl restart nix-daemon.socket`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`MacOS:`,`\n`,_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo launchctl kickstart -k -p system/org.nixos.nix-daemon`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Install Flox to your `,_jsx(_components.em,{children:`personal`}),` profile:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`nix profile install \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --experimental-features \"nix-command flakes\" \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --accept-flake-config \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 'github:flox/flox/latest'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Install Flox to the system-wide `,_jsx(_components.code,{children:`default`}),` profile as root:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo -H nix profile install \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --profile /nix/var/nix/profiles/default \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --experimental-features \"nix-command flakes\" \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --accept-flake-config \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 'github:flox/flox/latest'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`]}),_jsxs(Accordion,{title:`On error`,id:`on-error`,children:[_jsxs(_components.p,{children:[`If you encounter the following error then please upgrade your Nix\ninstallation (and in particular the running `,_jsx(_components.code,{children:`nix-daemon`}),`) to the latest\nversion (minimum supported version is `,_jsx(_components.code,{children:`2.18.0`}),`):`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`error: builder for '/nix/store/35l1qqyis11y88ic0cp3yxgv3286l4pb-flox-0.0.2-r295.drv' failed with exit code 1;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` last 1 log lines:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` > error: attribute 'requisites' missing`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`If you encounter any other errors with the installer please report the\nbug by way of `,_jsx(_components.a,{href:`https://discourse.flox.dev`,children:`discourse`}),`, including\na full copy of the command invoked and error encountered.`]})]}),_jsx(Heading,{level:`3`,id:`install-declaratively`,children:`Install declaratively`}),_jsx(_components.p,{children:`The following example is for a Nix darwin installation.\nYou may need to modify inputs to match your system.`}),_jsxs(Accordion,{title:`Using Flox's binary cache`,id:`using-floxs-binary-cache`,children:[_jsxs(_components.p,{children:[`Flox hosts a binary cache for its packages, that can be added to your `,_jsx(_components.code,{children:`/etc/nix/nix.conf`}),` file.\nWe recommend doing this if you are installing Flox system-wide.`]}),_jsx(CodeBlock,{filename:`/etc/nix/nix.conf`,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`extra-trusted-substituters`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://cache.flox.dev`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`extra-trusted-public-keys`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` floxhub-1:0QOAlcobcEvq1mqEf4qAYCaWnTTOXpyoRv/PmqfSixM=`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Or, to your flake configuration by using the `,_jsx(_components.code,{children:`nixConfig`}),` attribute.\nThis will ensure that Flox’s binary cache is used for all operation within that flake.`]}),_jsx(CodeBlock,{filename:`flake.nix`,numberOfLines:`9`,language:`nix`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`nix`,children:_jsxs(_components.code,{language:`nix`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` nixConfig`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` extra-trusted-substituters`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cache.flox.dev\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`];`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` extra-trusted-public-keys`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs=\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"floxhub-1:0QOAlcobcEvq1mqEf4qAYCaWnTTOXpyoRv/PmqfSixM=\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ];`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:`Note that if you don’t add either of these options, Flox will be built from source, together with a patched version of Nix.\nWhich might take a while on less powerful systems.`})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`54`,language:`nix`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`nix`,children:_jsxs(_components.code,{language:`nix`,numberOfLines:`54`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` description`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Example Darwin system flake\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` nixConfig`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` extra-trusted-substituters`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"https://cache.flox.dev\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`];`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` extra-trusted-public-keys`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs=\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"floxhub-1:0QOAlcobcEvq1mqEf4qAYCaWnTTOXpyoRv/PmqfSixM=\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ];`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` inputs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` nixpkgs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"github:NixOS/nixpkgs/nixpkgs-23.11-darwin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` nix-darwin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"github:LnL7/nix-darwin\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` inputs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`nixpkgs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`follows`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"nixpkgs\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` flox`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` url`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"github:flox/flox/latest\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` outputs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` inputs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`@{ `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`self`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` nix-darwin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` nixpkgs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` flox`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` let`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` configuration`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`pkgs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` ... `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` environment`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`systemPackages`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [ `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`pkgs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`__YOUR_PACKAGES__`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` inputs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`flox`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`packages`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:\"${\"}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`pkgs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`system`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`default`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ];`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` nix`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`settings`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` experimental-features`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"nix-command flakes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` extra-substituters`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://cache.flox.dev\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ];`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` extra-trusted-public-keys`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs=\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"floxhub-1:0QOAlcobcEvq1mqEf4qAYCaWnTTOXpyoRv/PmqfSixM=\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ];`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` __YOUR_CONFIG__`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` in`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` darwinConfigurations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"__YOUR_HOST__\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` nix-darwin`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`lib`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`darwinSystem`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` modules`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [ `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`configuration`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ];`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` specialArgs`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`inherit`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:` inputs`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`; };`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` };`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})}),_jsxs(_components.p,{children:[`Run `,_jsx(_components.code,{children:`nix-darwin`}),` to install the configuration and packages you’ve declared.\nThis is an example on `,_jsx(_components.code,{children:`nix-darwin`}),`: `,_jsx(_components.code,{children:`nix run nix-darwin -- switch --flake ~/path/to/flake`})]}),_jsx(Heading,{level:`2`,id:`nixos`,children:`NixOS`}),_jsxs(_components.p,{children:[`On NixOS, configure `,_jsx(_components.code,{children:`/etc/nixos/configuration.nix`}),` to add the lines:`]}),_jsx(CodeBlock,{filename:`/etc/nixos/configuration.nix`,numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`nix.settings.extra-trusted-substituters = [ \"https://cache.flox.dev\" ];`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`nix.settings.extra-trusted-public-keys = [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"flox-cache-public-1:7F4OyH7ZCnFhcze3fJdfyXYLQw/aV7GEed86nQ7IsOs=\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` \"floxhub-1:0QOAlcobcEvq1mqEf4qAYCaWnTTOXpyoRv/PmqfSixM=\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`];`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`… and then invoke:`}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo nixos-rebuild switch`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`Then install Flox:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Install to your `,_jsx(_components.em,{children:`personal`}),` profile:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`nix profile install \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --experimental-features \"nix-command flakes\" \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --accept-flake-config \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 'github:flox/flox/latest'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Install Flox to the system-wide `,_jsx(_components.code,{children:`default`}),` profile as root:`]}),`\n`,_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo -H nix profile install \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --profile /nix/var/nix/profiles/default \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --experimental-features \"nix-command flakes\" \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --accept-flake-config \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 'github:flox/flox/latest'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`]}),`\n`]}),_jsx(Heading,{level:`2`,id:`determinate-nix`,children:`Determinate Nix`}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Flox hasn’t been tested alongside `,_jsx(_components.a,{href:`https://docs.determinate.systems/determinate-nix/`,children:`Determinate\nNix`}),`, which installs\nits own `,_jsx(_components.code,{children:`nix-daemon`}),` fork. The supported path is to uninstall\nDeterminate Nix first, then install Flox fresh using one of the other methods on this page.`]})}),_jsx(_components.p,{children:`Uninstall Determinate Nix:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`/nix/nix-installer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` uninstall`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`Then pick the tab above for your OS (or follow the `,_jsx(_components.a,{href:`#generic-nix`,children:`Generic\nNix`}),` instructions above if you’d rather install upstream\nNix yourself first).`]}),_jsx(Heading,{level:`2`,id:`verify-flox-installation-5`,children:`Verify Flox installation`}),_jsx(_components.p,{children:`If the following command returns without error then you’re ready to get\nstarted!`}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellsession`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellsession`,children:_jsxs(_components.code,{language:`shellsession`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$ flox --version`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`1.19.4`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})}),_jsx(_components.p,{children:`The version you see might be different.`}),_jsx(Heading,{level:`2`,id:`upgrade-existing-flox-installation-5`,children:`Upgrade existing Flox installation`}),_jsxs(_components.p,{children:[`If you’ve installed Flox to the system-wide `,_jsx(_components.code,{children:`default`}),` profile`]}),_jsx(CodeBlock,{numberOfLines:`6`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo -H nix profile upgrade \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --profile /nix/var/nix/profiles/default \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --experimental-features \"nix-command flakes\" \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --accept-flake-config \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` '.*flox'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Or, if you’ve installed Flox to your own `,_jsx(_components.em,{children:`personal`}),` profile`]}),_jsx(CodeBlock,{numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`nix profile upgrade \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --experimental-features \"nix-command flakes\" \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --accept-flake-config \\\\`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` '.*flox'`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Or, if you’ve declared Flox using a flake, run `,_jsx(_components.code,{children:`nix flake update`}),`.`]}),_jsxs(_components.p,{children:[`On NixOS, if you’ve declared Flox in your system configuration, update\nthe flake input and run `,_jsx(_components.code,{children:`sudo nixos-rebuild switch`}),`.`]})]}),_jsxs(Tab,{title:`Container`,id:`container`,\"data-child-heading-ids\":`[\"invoke-flox-container\",\"verify-flox-installation-6\"]`,children:[_jsx(_components.p,{children:`If you have Docker installed then you can also run flox in a container to\ntry it out before installing on your system.`}),_jsx(Heading,{level:`2`,id:`invoke-flox-container`,children:`Invoke Flox container`}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`docker run --pull always --rm -it ghcr.io/flox/flox`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(Heading,{level:`2`,id:`verify-flox-installation-6`,children:`Verify Flox installation`}),_jsx(_components.p,{children:`If the following command returns without error then you’re ready to get\nstarted!`}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellsession`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellsession`,children:_jsxs(_components.code,{language:`shellsession`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$ flox --version`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`1.19.4`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})}),_jsx(_components.p,{children:`The version you see might be different.`})]}),_jsxs(Tab,{title:`WSL 2`,id:`wsl-2`,\"data-child-heading-ids\":`[\"supported-distributions\",\"download-and-install-the-package-3\",\"download-and-install-the-package-4\",\"download-and-install-the-package-5\",\"configure-nix-daemon-to-start-on-activation\",\"verify-flox-installation-7\",\"upgrade-existing-flox-installation-6\"]`,children:[_jsx(Warning,{children:_jsx(_components.p,{children:_jsx(_components.strong,{children:`Support for WSL 2 is experimental.`})})}),_jsxs(Info,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Install WSL 2`})}),_jsxs(_components.p,{children:[`Please install and configure `,_jsx(_components.strong,{children:`WSL version 2`}),` as described in the\nMicrosoft Learn `,_jsx(_components.a,{href:`https://learn.microsoft.com/en-us/windows/wsl/install`,children:`Install\nWSL`}),`\nguide before installing Flox. Please also `,_jsx(_components.a,{href:`https://learn.microsoft.com/en-us/windows/wsl/basic-commands`,children:`ensure the\nstate`}),`\n(whether the distribution is running or stopped) is running.`]}),_jsx(_components.p,{children:`Note that installation will fail on WSL 1.`})]}),_jsx(_components.p,{children:`Microsoft provides several Linux distributions for use with WSL and will\nuse Ubuntu by default. Use the following commands to run and manage your\nchosen distribution:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`list installed distributions: `,_jsx(_components.code,{children:`wsl --list`})]}),`\n`,_jsxs(_components.li,{children:[`run specified distribution: `,_jsx(_components.code,{children:`wsl --distribution \u003cname>`})]}),`\n`,_jsxs(_components.li,{children:[`list all available distributions: `,_jsx(_components.code,{children:`wsl --list --online`})]}),`\n`,_jsxs(_components.li,{children:[`install distribution: `,_jsx(_components.code,{children:`wsl --install -d \u003cname>`})]}),`\n`,_jsxs(_components.li,{children:[`terminate distribution: `,_jsx(_components.code,{children:`wsl --terminate \u003cname>`})]}),`\n`,_jsxs(_components.li,{children:[`unregister and delete distribution: `,_jsx(_components.code,{children:`wsl --unregister \u003cname>`})]}),`\n`]}),_jsx(Heading,{level:`2`,id:`supported-distributions`,children:`Supported distributions`}),_jsx(_components.p,{children:`Please follow the steps below to install Flox on the distribution of your\nchoice:`}),_jsxs(Accordion,{title:`Ubuntu`,id:`ubuntu`,children:[_jsx(Heading,{level:`2`,id:`download-and-install-the-package-3`,children:`Download and install the package`}),_jsx(_components.p,{children:`Run the command for your system architecture:`}),_jsx(_components.p,{children:`64-bit Intel/AMD:`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -LO https://downloads.flox.dev/by-env/stable/deb/flox-1.19.4.x86_64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo dpkg -i ./flox-1.19.4.x86_64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`64-bit ARM:`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -LO https://downloads.flox.dev/by-env/stable/deb/flox-1.19.4.aarch64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo dpkg -i ./flox-1.19.4.aarch64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Accordion,{title:`Debian`,id:`debian`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Install prerequisites`})}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo apt-get install policycoreutils semodule-utils tar wget xz-utils`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(Heading,{level:`2`,id:`download-and-install-the-package-4`,children:`Download and install the package`}),_jsx(_components.p,{children:`Run the command for your system architecture:`}),_jsx(_components.p,{children:`64-bit Intel/AMD:`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -LO https://downloads.flox.dev/by-env/stable/deb/flox-1.19.4.x86_64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo dpkg -i ./flox-1.19.4.x86_64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`64-bit ARM:`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -LO https://downloads.flox.dev/by-env/stable/deb/flox-1.19.4.aarch64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo dpkg -i ./flox-1.19.4.aarch64-linux.deb`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Accordion,{title:`OracleLinux_8_5`,id:`oraclelinux-8-5`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Install prerequisites`})}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo yum install tar xz`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(Heading,{level:`2`,id:`download-and-install-the-package-5`,children:`Download and install the package`}),_jsx(_components.p,{children:`Run the command for your system architecture:`}),_jsx(_components.p,{children:`64-bit Intel/AMD:`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -LO https://downloads.flox.dev/by-env/stable/rpm/flox-1.19.4.x86_64-linux.rpm`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo rpm -ivh ./flox-1.19.4.x86_64-linux.rpm`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(_components.p,{children:`64-bit ARM:`}),_jsx(CodeBlock,{numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`curl -LO https://downloads.flox.dev/by-env/stable/rpm/flox-1.19.4.aarch64-linux.rpm`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`sudo rpm -ivh ./flox-1.19.4.aarch64-linux.rpm`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})]}),_jsxs(Info,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Ignore warning about systemd`})}),_jsx(_components.p,{children:`You will encounter the following warning during the installation:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`---- warning! ------------------------------------------------------------------`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`We did not detect systemd on your system. With a multi-user install`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`without systemd you will have to manually configure your init system to`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`launch the Nix daemon after installation.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`You can disregard this message as we will be configuring the\n`,_jsx(_components.code,{children:`nix-daemon`}),` to start automatically in the next section.`]})]}),_jsxs(Heading,{level:`2`,id:`configure-nix-daemon-to-start-on-activation`,children:[`Configure `,_jsx(_components.code,{children:`nix-daemon`}),` to start on activation`]}),_jsxs(_components.p,{children:[`Once Flox has been installed on your WSL distribution the `,_jsx(_components.code,{children:`nix-daemon`}),` will\nneed to be automatically started as you start your WSL instance.`]}),_jsxs(_components.p,{children:[`Run the following command to add the necessary logic to invoke `,_jsx(_components.code,{children:`nix-daemon`}),`\nby way of your `,_jsx(_components.code,{children:`~/.bashrc`}),` file:`]}),_jsx(CodeBlock,{numberOfLines:`4`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`cat >> ~/.bashrc \u003c\u003cEOF`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`( wsl.exe -d $WSL_DISTRO_NAME -u root service nix-daemon status 2>\u00261 >/dev/null ) || wsl.exe -d $WSL_DISTRO_NAME -u root service nix-daemon start`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`EOF`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Then restart your WSL shell (or start another) and run the following\ncommand to ensure that the `,_jsx(_components.code,{children:`nix-daemon`}),` is working correctly:`]}),_jsx(CodeBlock,{numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`nix --extra-experimental-features nix-command store ping`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsx(Heading,{level:`2`,id:`verify-flox-installation-7`,children:`Verify Flox installation`}),_jsx(_components.p,{children:`If the following command returns without error then you’re ready to get\nstarted!`}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellsession`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellsession`,children:_jsxs(_components.code,{language:`shellsession`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`$ flox --version`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`1.19.4`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`]})})}),_jsx(_components.p,{children:`The version you see might be different.`}),_jsx(Heading,{level:`2`,id:`upgrade-existing-flox-installation-6`,children:`Upgrade existing Flox installation`}),_jsx(_components.p,{children:`Please follow the instructions provided on either the Debian or RPM tab\n(whichever matches the existing Linux Distribution installed with your\nWSL) to update to latest version of Flox.`})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Install Flox","description":"How to install or upgrade the Flox CLI","href":"/install-flox/install"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Install with one command","slug":"install-with-one-command","depth":2,"children":[],"tabId":"install-script"},{"title":"Pin a channel or version","slug":"pin-a-channel-or-version","depth":2,"children":[],"tabId":"install-script"},{"title":"Verify Flox installation","slug":"verify-flox-installation","depth":2,"children":[],"tabId":"install-script"},{"title":"Upgrade existing Flox installation","slug":"upgrade-existing-flox-installation","depth":2,"children":[],"tabId":"install-script"},{"title":"FAQ","slug":"faq","depth":2,"children":[],"tabId":"install-script"},{"title":"Pkg installer","slug":"pkg-installer","depth":2,"children":[],"tabId":"macos"},{"title":"Homebrew","slug":"homebrew","depth":2,"children":[],"tabId":"macos"},{"title":"Verify Flox installation","slug":"verify-flox-installation-2","depth":2,"children":[],"tabId":"macos"},{"title":"Upgrade existing Flox installation","slug":"upgrade-existing-flox-installation-2","depth":2,"children":[],"tabId":"macos"},{"title":"Download and install the package","slug":"download-and-install-the-package","depth":2,"children":[],"tabId":"debian"},{"title":"Verify Flox installation","slug":"verify-flox-installation-3","depth":2,"children":[],"tabId":"debian"},{"title":"Upgrade existing Flox installation","slug":"upgrade-existing-flox-installation-3","depth":2,"children":[],"tabId":"debian"},{"title":"Download and install the package","slug":"download-and-install-the-package-2","depth":2,"children":[],"tabId":"rpm"},{"title":"Verify Flox installation","slug":"verify-flox-installation-4","depth":2,"children":[],"tabId":"rpm"},{"title":"Upgrade existing Flox installation","slug":"upgrade-existing-flox-installation-4","depth":2,"children":[],"tabId":"rpm"},{"title":"Generic Nix","slug":"generic-nix","depth":2,"children":[{"title":"Install imperatively","slug":"install-imperatively","depth":3,"children":[],"tabId":"nix"},{"title":"Install declaratively","slug":"install-declaratively","depth":3,"children":[],"tabId":"nix"}],"tabId":"nix"},{"title":"NixOS","slug":"nixos","depth":2,"children":[],"tabId":"nix"},{"title":"Determinate Nix","slug":"determinate-nix","depth":2,"children":[],"tabId":"nix"},{"title":"Verify Flox installation","slug":"verify-flox-installation-5","depth":2,"children":[],"tabId":"nix"},{"title":"Upgrade existing Flox installation","slug":"upgrade-existing-flox-installation-5","depth":2,"children":[],"tabId":"nix"},{"title":"Invoke Flox container","slug":"invoke-flox-container","depth":2,"children":[],"tabId":"container"},{"title":"Verify Flox installation","slug":"verify-flox-installation-6","depth":2,"children":[],"tabId":"container"},{"title":"Supported distributions","slug":"supported-distributions","depth":2,"children":[],"tabId":"wsl-2"},{"title":"Configure nix-daemon to start on activation","slug":"configure-nix-daemon-to-start-on-activation","depth":2,"children":[],"tabId":"wsl-2"},{"title":"Verify Flox installation","slug":"verify-flox-installation-7","depth":2,"children":[],"tabId":"wsl-2"},{"title":"Upgrade existing Flox installation","slug":"upgrade-existing-flox-installation-6","depth":2,"children":[],"tabId":"wsl-2"}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/flox/d4dc44fc16caa8e0/amplitude.js","/docs/_mintlify/custom/flox/7a15237175dc5cb4/hubspot.js","/docs/_mintlify/custom/flox/2c0cb21cf2c0757c/plausible.js"],"subdomain":"flox","siteName":"Flox","title":"Install Flox - Flox","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-05T20:54:44.928Z","originalFileLocation":"install-flox/install.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"How to install or upgrade the Flox CLI\">\u003cmeta data-mint-head name=\"application-name\" content=\"Flox\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/flox/GZA6Gh0WLJjYFtuZ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/flox/GZA6Gh0WLJjYFtuZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/flox/GZA6Gh0WLJjYFtuZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/flox/GZA6Gh0WLJjYFtuZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/flox/GZA6Gh0WLJjYFtuZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/flox/GZA6Gh0WLJjYFtuZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/flox/GZA6Gh0WLJjYFtuZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/flox/GZA6Gh0WLJjYFtuZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/flox/GZA6Gh0WLJjYFtuZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Install Flox - Flox\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to install or upgrade the Flox CLI\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Flox\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://flox.dev/docs/install-flox/install\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://flox.mintlify.app/_mintlify/api/og/v2?division=Install+Flox\u0026amp;title=Install+Flox\u0026amp;description=How+to+install+or+upgrade+the+Flox+CLI\u0026amp;theme=499e841fe95ca0b9c8be2d34\u0026amp;signature=39299989ccbef092b5f6841bd708fe5292aeb9d9f02d96ddc0e1cbe8f78e3788\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Install Flox - Flox\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to install or upgrade the Flox CLI\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://flox.mintlify.app/_mintlify/api/og/v2?division=Install+Flox\u0026amp;title=Install+Flox\u0026amp;description=How+to+install+or+upgrade+the+Flox+CLI\u0026amp;theme=499e841fe95ca0b9c8be2d34\u0026amp;signature=39299989ccbef092b5f6841bd708fe5292aeb9d9f02d96ddc0e1cbe8f78e3788\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/flox/GZA6Gh0WLJjYFtuZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Flox\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#8D45FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://flox.dev/docs/install-flox/install\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/install-flox/install.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://flox.dev/#organization\",\"name\":\"Flox\",\"url\":\"https://flox.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/flox/TGd54292LI04fuY9/logo/light.svg?fit=max\u0026auto=format\u0026n=TGd54292LI04fuY9\u0026q=85\u0026s=a68dffe97384d4c4af5850b2c4ab2d6c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://flox.dev/docs#website\",\"name\":\"Flox\",\"url\":\"https://flox.dev/docs\",\"publisher\":{\"@id\":\"https://flox.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://flox.dev/docs/install-flox/install#webpage\",\"url\":\"https://flox.dev/docs/install-flox/install\",\"name\":\"Install Flox\",\"description\":\"How to install or upgrade the Flox CLI\",\"dateModified\":\"2026-11-05T20:54:44.928Z\",\"isPartOf\":{\"@id\":\"https://flox.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://flox.dev/docs/install-flox/install#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://flox.dev/docs/install-flox/install#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Flox\",\"item\":\"https://flox.dev/docs\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Flox\",\"item\":\"https://flox.dev/docs/install-flox/install\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://flox.dev/docs/install-flox/install#article\",\"headline\":\"Install Flox\",\"name\":\"Install Flox\",\"description\":\"How to install or upgrade the Flox CLI\",\"url\":\"https://flox.dev/docs/install-flox/install\",\"mainEntityOfPage\":{\"@id\":\"https://flox.dev/docs/install-flox/install#webpage\"},\"dateModified\":\"2026-11-05T20:54:44.928Z\",\"publisher\":{\"@id\":\"https://flox.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://flox.dev/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Flox\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Flox","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Introduction","pages":[{"title":"Introduction","description":"What is Flox?","href":""}]},{"group":"Install Flox","pages":[{"title":"Install Flox","href":"/install-flox/install"},{"title":"Uninstall Flox","description":"How to uninstall the Flox CLI","href":"/install-flox/uninstall"},{"title":"Troubleshooting installation","href":"/install-flox/troubleshooting"},{"title":"Extensions","href":"/install-flox/ide-extensions"}]},{"group":"Quickstart","pages":[{"title":"Flox in 5 minutes","href":"/flox-5-minutes"}]},{"group":"Tutorials","pages":[{"title":"Creating environments","href":"/tutorials/creating-environments"},{"title":"The default environment","href":"/tutorials/default-environment"},{"title":"Example default environments","href":"/tutorials/default-environment-examples"},{"title":"Sharing your environments","href":"/tutorials/sharing-environments"},{"title":"Layering multiple environments","href":"/tutorials/layering-multiple-environments"},{"title":"Customizing the shell environment","href":"/tutorials/customizing-environments"},{"title":"Designing cross-platform environments","href":"/tutorials/multi-arch-environments"},{"title":"Build and publish packages","href":"/tutorials/build-and-publish"},{"title":"Using a newer version of a package","href":"/tutorials/overriding-packages"},{"title":"Running Flox in CI/CD","href":"/tutorials/ci-cd"},{"title":"Reusing and combining developer environments","href":"/tutorials/composition"},{"title":"Selecting package outputs","href":"/tutorials/package-outputs"},{"title":"Flox + CUDA tutorial","href":"/tutorials/cuda"},{"title":"Flox and systemd","href":"/tutorials/flox-and-systemd"},{"title":"Installing Flox from its repository on Debian and Red Hat","href":"/tutorials/installing-from-repo"},{"group":"Migration guides","pages":[{"title":"Homebrew","href":"/tutorials/migrations/homebrew"},{"title":"Node Version Manager (nvm)","href":"/tutorials/migrations/nvm"}]}]},{"group":"Imageless Kubernetes","pages":[{"title":"Imageless Kubernetes Introduction","href":"/imageless-kubernetes/intro"},{"title":"Tech","href":"/imageless-kubernetes/tech"},{"group":"Installation","pages":[{"title":"Amazon EKS","href":"/imageless-kubernetes/install/eks"},{"title":"Self-managed Kubernetes","href":"/imageless-kubernetes/install/self-managed"},{"title":"Troubleshooting","href":"/imageless-kubernetes/install/troubleshooting"},{"title":"Upgrading","href":"/imageless-kubernetes/install/upgrading"},{"title":"Uninstall","href":"/imageless-kubernetes/install/uninstall"}]},{"group":"Examples","pages":[{"title":"GitLab CI","href":"/imageless-kubernetes/examples/gitlab-ci"},{"title":"Web server with Redis on kind","href":"/imageless-kubernetes/examples/kind-demo"}]},{"title":"Configuration","href":"/imageless-kubernetes/config"}]},{"group":"Concepts","pages":[{"title":"What is a Flox environment?","href":"/concepts/environments"},{"title":"Activating environments","href":"/concepts/activation"},{"title":"Auto-activation","href":"/concepts/auto-activation"},{"title":"Compatibility policy","href":"/concepts/compatibility"},{"title":"What is FloxHub?","href":"/concepts/floxhub"},{"title":"FloxHub environments","href":"/concepts/floxhub-environments"},{"title":"What is a generation?","href":"/concepts/generations"},{"title":"What is the Flox Catalog?","href":"/concepts/packages-and-catalog"},{"title":"Package Groups","href":"/concepts/package-groups"},{"title":"What is the Base Catalog?","href":"/concepts/base-catalog"},{"title":"CUDA packages in the Flox Catalog and binary cache","href":"/concepts/cuda-catalog-and-cache"},{"title":"Services","href":"/concepts/services"},{"title":"Composing environments","href":"/concepts/composition"},{"title":"Authentication","href":"/concepts/authentication"},{"title":"What Flox collects","href":"/concepts/data-collection"},{"title":"Understanding Organizations in FloxHub","href":"/concepts/organizations"},{"title":"Enterprise SSO","href":"/concepts/enterprise-sso"},{"title":"Service accounts","href":"/concepts/service-accounts"},{"title":"Personal access tokens","href":"/concepts/personal-access-tokens"},{"title":"Builds","href":"/concepts/builds"},{"title":"Manifest Builds","href":"/concepts/manifest-builds"},{"title":"Nix expression builds","href":"/concepts/nix-expression-builds"},{"title":"Catalog imports","href":"/concepts/catalog-imports"},{"title":"Publishing","href":"/concepts/publishing"},{"title":"Secrets management","href":"/concepts/secrets-management"},{"title":"Plugins","href":"/concepts/plugins"},{"title":"Flox vs. container workflows","href":"/concepts/flox-vs-containers"}]},{"group":"Languages","pages":[{"title":"C/C++","href":"/languages/c"},{"title":"Go","href":"/languages/go"},{"title":"JVM","href":"/languages/jvm"},{"title":"Node.js","href":"/languages/nodejs"},{"title":"Python","href":"/languages/python"},{"title":"Ruby","href":"/languages/ruby"},{"title":"Rust","href":"/languages/rust"}]},{"group":"Customer","pages":[{"title":"Catalog Store","href":"/customer/catalog-store"},{"title":"Known issues","href":"/customer/known-issues"},{"title":"Signing keys","href":"/customer/signing-keys"}]}]},{"tab":"CLI reference","pages":[{"title":"CLI reference","href":"/man/flox"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Install Flox - Flox","buildId":"dpl_DQCMP4mismmBj3AFK7YZqNhrtLNq","deploymentId":"dpl_DQCMP4mismmBj3AFK7YZqNhrtLNq","dynamics":[],"chunks":[]}