summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Zwerschke <pavelzw@gmail.com>2023-10-02 10:48:47 +0200
committerGitHub <noreply@github.com>2023-10-02 10:48:47 +0200
commit141e669ebc24e5558b3cda5058de9724df8d0561 (patch)
tree466c95eb1ea32fa5a6fbc5c3548d5ec60fc46ee0
parente2550d14fe3c90f94c3b72bdb11e099c1e865e32 (diff)
docs: use quotes in cli (#367)
Otherwise this would get piped into a file called `=1.8` 😅
-rw-r--r--docs/cli.mdx4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cli.mdx b/docs/cli.mdx
index 9497f4a..2cfbbcf 100644
--- a/docs/cli.mdx
+++ b/docs/cli.mdx
@@ -43,10 +43,10 @@ It will only add if the package with its version constraint is able to work with
```shell
pixi add numpy
-pixi add numpy pandas pytorch>=1.8
+pixi add numpy pandas "pytorch>=1.8"
pixi add "numpy>=1.22,<1.24"
pixi add --manifest-path ~/myproject/pixi.toml numpy
-pixi add --host python>=3.9.0
+pixi add --host "python>=3.9.0"
pixi add --build cmake
pixi add --platform osx-64 --build clang
```