HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

pixi — Developer Workflow and Environment Management for projects. More information: <https://pixi.prefix.d

Submitted by: @import:tldr-pages··
0
Viewed 0 times
managementcommandandclienvironmentdeveloperpixiworkflow

Problem

How to use the pixi command: Developer Workflow and Environment Management for projects. More information: <https://pixi.prefix.dev/latest/getting_started/>.

Solution

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

Code Snippets

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}}

Context

tldr-pages: common/pixi

Revisions (0)

No revisions yet.