mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
38 lines
660 B
Plaintext
38 lines
660 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pixi
|
|
|
|
> Developer Workflow and Environment Management for projects.
|
|
> More information: <https://pixi.prefix.dev/latest/getting_started/>.
|
|
|
|
- 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}}`
|
|
|
|
- Display help:
|
|
|
|
`pixi {{command}} --help`
|
|
|
|
- Clean environment and task cache:
|
|
|
|
`pixi clean`
|