Skip to content

Commit

Permalink
docs: add small piece on updating a lockfile in preparation for the u…
Browse files Browse the repository at this point in the history
…pdate command.
  • Loading branch information
ruben-arts committed Mar 28, 2024
1 parent 4948526 commit b8f73a6
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,17 @@ pixi install --frozen
pixi install --locked
```

To reinitialize the lockfile in your project, you can remove the existing `pixi.lock` file and run `pixi install`.
This process will regenerate the lockfile based on the dependencies defined in your manifest file:

```sh
rm pixi.lock && pixi install
```
This action ensures that your project's dependencies are reset and updated according to the current specifications in manifest file.

In a future version of Pixi, we will introduce the `pixi update` command.
This command will allow you to update the lockfile directly, without manually deleting the `pixi.lock` file, making the dependency management process even smoother.

## `run`

The `run` commands first checks if the environment is ready to use.
Expand Down

0 comments on commit b8f73a6

Please sign in to comment.