You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Registering a workspace in pixi is currently a two step process. First you must create a workspace, for example using the `pixi init` command. Then, you may add it to the workspace registry with the `pixi workspace register` command. This is in contrast to conda, which allows creating a new named environment, for example using the command `conda create --name myenv`.
89
+
90
+
Then, you may use the named workspace similar to how `conda` works
91
+
92
+
```shell
93
+
# adds a package into a workspace that has been registered with name `myproject`
94
+
pixi add numpy --workspace myproject
95
+
# adds a package into a workspace at the location `/path/to/myproject`
96
+
pixi add numpy --manifest-path /path/to/myproject
97
+
```
98
+
99
+
??? tip "Use `pixi workspace register prune` to clean up disassociated workspaces"
100
+
Your named workspace will be disassociated if you move the workspace path. To list all existing associations try running `pixi workspace register list`. To remove disassociated paths try running `pixi workspace register prune`.
0 commit comments