Skip to content

docs: CLI install scripts and v2 install page#13

Merged
rmcdaniel merged 2 commits intomainfrom
cli-install-scripts
Apr 15, 2026
Merged

docs: CLI install scripts and v2 install page#13
rmcdaniel merged 2 commits intomainfrom
cli-install-scripts

Conversation

@rmcdaniel
Copy link
Copy Markdown
Member

Summary

  • Hosts install.sh (Linux/macOS) and install.ps1 (Windows) at the site root so users can run curl -fsSL https://durable-workflow.com/install.sh | sh or irm https://durable-workflow.com/install.ps1 | iex.
  • Adds a v2 docs page at /docs/2.0/cli/ with an OS-detecting platform switcher — auto-selects the visitor's OS/arch but lets them switch.
  • Both scripts pull the matching asset from the latest durable-workflow/cli release. VERSION=v1.2.3 and DURABLE_WORKFLOW_INSTALL_DIR env vars let users pin a version or change the install location.
  • No changes to 1.x frozen docs.

Test plan

  • npm run build succeeds
  • After merge+deploy: curl -fsSL https://durable-workflow.com/install.sh | sh installs a working binary on Linux
  • After merge+deploy: irm https://durable-workflow.com/install.ps1 | iex installs a working .exe on Windows
  • Page at /docs/2.0/cli/ auto-selects the correct platform

Note: install scripts depend on the first tagged release of durable-workflow/cli being published so the releases/latest/download/... URLs resolve.

- 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
@rmcdaniel rmcdaniel merged commit d1a022d into main Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants