Skip to content

Commit

Permalink
Update docs/tutorials/multi_environment.md
Browse files Browse the repository at this point in the history
Co-authored-by: Hofer-Julian <[email protected]>
  • Loading branch information
ruben-arts and Hofer-Julian authored Jan 20, 2025
1 parent 31081da commit 5a9956e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/tutorials/multi_environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ Environments can actually be installed and activated to run tasks in.
You can define multiple environments in one project.
Defining environments is done by adding them to the `[environments]` table in the manifest file.
#### **Default**
To keep pixi simple you will define a default environment if not specified otherwise.
This is the environment build by the non `[feature.<name>` prefixed tables in the manifest file.
All these tables are merged to create the `default` environment.
Thus, in theory you can read the `[dependencies]` table as `[feature.default.dependencies]`.
Instead of specifying `[feature.<name>.dependencies]`, one can populate `[dependencies]` directly.
These top level table, are added to the "default" feature, which is added to every environment, unless you specifically opt-out.

## Let's get started

Expand Down

0 comments on commit 5a9956e

Please sign in to comment.