1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 16:13:31 +02:00

flox: add page (#17928)

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
This commit is contained in:
patrick 2025-09-03 00:24:07 +05:30 committed by GitHub
parent b3116f1966
commit 23e7aef736
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

36
pages/common/flox.md Normal file
View file

@ -0,0 +1,36 @@
# 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 init`
- Enter an environment, or create one if it doesn't exist:
`flox activate`
- Search 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 push`
- Pull a shared environment from FloxHub:
`flox pull {{environment_name}}`