mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-11 03:55:31 +03:00
pixi, pixi-{config,global,project,task}: add page (#13249)
This commit is contained in:
parent
5bb7f0a295
commit
78bc958905
28
pages/common/pixi-config.md
Normal file
28
pages/common/pixi-config.md
Normal file
@ -0,0 +1,28 @@
|
||||
# pixi config
|
||||
|
||||
> Manage the configuration file.
|
||||
> More information: <https://pixi.sh/latest/reference/cli/#config>.
|
||||
|
||||
- Edit the configuration file:
|
||||
|
||||
`pixi config edit`
|
||||
|
||||
- List all configurations:
|
||||
|
||||
`pixi config list`
|
||||
|
||||
- Prepend a value to a list configuration key:
|
||||
|
||||
`pixi config prepend {{key}} {{value}}`
|
||||
|
||||
- Append a value to a list configuration key:
|
||||
|
||||
`pixi config append {{key}} {{value}}`
|
||||
|
||||
- Set a configuration key to a value:
|
||||
|
||||
`pixi config set {{key}} {{value}}`
|
||||
|
||||
- Unset a configuration key:
|
||||
|
||||
`pixi config unset {{key}}`
|
24
pages/common/pixi-global.md
Normal file
24
pages/common/pixi-global.md
Normal file
@ -0,0 +1,24 @@
|
||||
# pixi global
|
||||
|
||||
> Manage global packages.
|
||||
> More information: <https://pixi.sh/latest/reference/cli/#global>.
|
||||
|
||||
- Install a package globally and add to path:
|
||||
|
||||
`pixi global install {{package1 package2 ...}}`
|
||||
|
||||
- Uninstall a package globally:
|
||||
|
||||
`pixi global remove {{package1 package2 ...}}`
|
||||
|
||||
- List all globally installed packages:
|
||||
|
||||
`pixi global list`
|
||||
|
||||
- Update a globally installed package:
|
||||
|
||||
`pixi global upgrade {{package}}`
|
||||
|
||||
- Update all globally installed packages:
|
||||
|
||||
`pixi global upgrade-all`
|
24
pages/common/pixi-project.md
Normal file
24
pages/common/pixi-project.md
Normal file
@ -0,0 +1,24 @@
|
||||
# pixi project
|
||||
|
||||
> Modify the project configuration file.
|
||||
> More information: <https://pixi.sh/latest/reference/cli/#project>.
|
||||
|
||||
- Manage project channels:
|
||||
|
||||
`pixi project channel {{command}}`
|
||||
|
||||
- Manage project description:
|
||||
|
||||
`pixi project description {{command}}`
|
||||
|
||||
- Manage project platform:
|
||||
|
||||
`pixi project platform {{command}}`
|
||||
|
||||
- Manage project version:
|
||||
|
||||
`pixi project version {{command}}`
|
||||
|
||||
- Manage project environment:
|
||||
|
||||
`pixi project environment {{command}}`
|
20
pages/common/pixi-task.md
Normal file
20
pages/common/pixi-task.md
Normal file
@ -0,0 +1,20 @@
|
||||
# pixi task
|
||||
|
||||
> Manage tasks in the project environment.
|
||||
> More information: <https://pixi.sh/latest/reference/cli/#task>.
|
||||
|
||||
- Create a new task:
|
||||
|
||||
`pixi task add {{task_name}} {{task_command}}`
|
||||
|
||||
- List all tasks in the project:
|
||||
|
||||
`pixi task list`
|
||||
|
||||
- Remove a task:
|
||||
|
||||
`pixi task remove {{task_name}}`
|
||||
|
||||
- Create an alias for a task:
|
||||
|
||||
`pixi task alias {{alias_name}} {{task1 task2 ...}}`
|
32
pages/common/pixi.md
Normal file
32
pages/common/pixi.md
Normal file
@ -0,0 +1,32 @@
|
||||
# pixi
|
||||
|
||||
> Developer Workflow and Environment Management for projects.
|
||||
> More information: <https://pixi.sh>.
|
||||
|
||||
- Initialize a new project:
|
||||
|
||||
`pixi init {{path/to/project}}`
|
||||
|
||||
- Add project dependencies:
|
||||
|
||||
`pixi add {{dependency1 dependency2 ...}}`
|
||||
|
||||
- Start a pixi shell in the project environment:
|
||||
|
||||
`pixi shell`
|
||||
|
||||
- Run a task in the project environment:
|
||||
|
||||
`pixi run {{task}}`
|
||||
|
||||
- Manage tasks in the project environment:
|
||||
|
||||
`pixi task {{command}}`
|
||||
|
||||
- Print the help message:
|
||||
|
||||
`pixi {{command}} --help`
|
||||
|
||||
- Clean environment and task cache:
|
||||
|
||||
`pixi clean`
|
Loading…
Reference in New Issue
Block a user