Skip to content

Commit

Permalink
pixi-{config,global,project,task}: Add page
Browse files Browse the repository at this point in the history
  • Loading branch information
GinOwO committed Jul 10, 2024
1 parent 8800076 commit ec52e12
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pages/common/pixi-config.md
Original file line number Diff line number Diff line change
@@ -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 changes: 24 additions & 0 deletions pages/common/pixi-global.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# pixi global

> Pixi global package management actions.
> More information: <https://pixi.sh/latest/reference/cli/#global>.
- Install a package globally and add to path:

`pixi global install {{package-1 package-2 ...}}`

- Uninstall a package globally:

`pixi global remove {{package-1 package-2 ...}}`

- 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 changes: 24 additions & 0 deletions pages/common/pixi-project.md
Original file line number Diff line number Diff line change
@@ -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 changes: 20 additions & 0 deletions pages/common/pixi-task.md
Original file line number Diff line number Diff line change
@@ -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}} {{task-1 task-2 ...}}`

0 comments on commit ec52e12

Please sign in to comment.