snippetbashTip
flox — Easy to use Nix package and environment manager. More information: <https://flox.dev/docs/reference/
Viewed 0 times
commandeasyanduseclifloxnixpackage
Problem
How to use the
flox command: Easy to use Nix package and environment manager. More information: <https://flox.dev/docs/reference/command-reference/flox/>.Solution
flox — Easy to use Nix package and environment manager. More information: <https://flox.dev/docs/reference/command-reference/flox/>.Create a new environment in the current directory:
flox initEnter an environment, or create one if it doesn't exist:
flox activateSearch for packages in the FloxHub catalog:
flox search {{package}}Install a package into the current environment:
flox {{[i|install]}} {{package}}Uninstall a package from the current environment:
flox uninstall {{package}}View a list of all packages installed in the current environment:
flox {{[l|list]}}Push a local environment to FloxHub to share with others:
flox pushPull a shared environment from FloxHub:
flox pull {{environment_name}}Code Snippets
Create a new environment in the current directory
flox initEnter an environment, or create one if it doesn't exist
flox activateSearch for packages in the FloxHub catalog
flox search {{package}}Install a package into the current environment
flox {{[i|install]}} {{package}}Uninstall a package from the current environment
flox uninstall {{package}}Context
tldr-pages: common/flox
Revisions (0)
No revisions yet.