docs: CLI install scripts and v2 install page#13
Merged
Conversation
- static/install.sh: Linux/macOS installer (curl | sh) - static/install.ps1: Windows installer (irm | iex) - src/components/CliInstall: OS-detecting platform switcher - docs/cli.mdx: v2 CLI install + command reference page
…ripts and cli page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
install.sh(Linux/macOS) andinstall.ps1(Windows) at the site root so users can runcurl -fsSL https://durable-workflow.com/install.sh | shorirm https://durable-workflow.com/install.ps1 | iex./docs/2.0/cli/with an OS-detecting platform switcher — auto-selects the visitor's OS/arch but lets them switch.durable-workflow/clirelease.VERSION=v1.2.3andDURABLE_WORKFLOW_INSTALL_DIRenv vars let users pin a version or change the install location.Test plan
npm run buildsucceedscurl -fsSL https://durable-workflow.com/install.sh | shinstalls a working binary on Linuxirm https://durable-workflow.com/install.ps1 | iexinstalls a working .exe on Windows/docs/2.0/cli/auto-selects the correct platformNote: install scripts depend on the first tagged release of
durable-workflow/clibeing published so thereleases/latest/download/...URLs resolve.