diff --git a/docs/installation.md b/docs/installation.md index 8c13c2203..ce473d533 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -24,6 +24,23 @@ pnpm add -g @fission-ai/openspec@latest yarn global add @fission-ai/openspec@latest ``` +### deno + +Deno sometimes has issues parsing the @latest tag, but we can specify a version while installing initially. +If that happens, you could try to change the @latest tag with the version, something like `@^1.3.1` + +```bash +deno install --global \ + --allow-read --allow-write --allow-env --allow-sys=cpus,homedir --allow-net=edge.openspec.dev \ + npm:@fission-ai/openspec@latest +# or +deno install --global \ + --allow-read --allow-write --allow-env --allow-sys=cpus,homedir --allow-net=edge.openspec.dev \ + npm:@fission-ai/openspec@^1.3.1 +``` + +Note: If your subcommands launch external tools, like config edit, feedback, or workspace open, you may need a scoped --allow-run=. + ### bun Bun can install OpenSpec globally, but OpenSpec currently runs on Node.js.