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:
parent
b3116f1966
commit
23e7aef736
1 changed files with 36 additions and 0 deletions
36
pages/common/flox.md
Normal file
36
pages/common/flox.md
Normal 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}}`
|
Loading…
Add table
Reference in a new issue