Requires Node.js 18+.
npx @dosu/cli setupOr install globally:
npm install -g @dosu/cli
dosu setupDownloads and installs the latest stable release binary.
curl -fsSL https://raw.githubusercontent.com/dosu-ai/dosu-cli/main/install.sh | shTo install a specific release tag:
DOSU_INSTALL_VERSION=v0.2.0-rc1 curl -fsSL https://raw.githubusercontent.com/dosu-ai/dosu-cli/main/install.sh | shbrew install dosu-ai/dosu/dosuOr tap first:
brew tap dosu-ai/dosu
brew install dosuDownload the appropriate archive from the Releases page.
When downloading directly from GitHub releases on macOS, you may see:
"Apple could not verify dosu is free of malware that may harm your Mac or compromise your privacy."
This happens because the binary is not signed with an Apple Developer certificate. To bypass this:
# After extracting the archive, remove the quarantine attribute:
xattr -d com.apple.quarantine ./dosuOr right-click the binary, select "Open", and click "Open" in the dialog.
Note: Installing via Homebrew avoids this issue automatically.
Releases are automated via bun build --compile and GitHub Actions.
-
Ensure all changes are committed and pushed to
main -
Create and push a new tag:
git tag v0.2.0 git push origin v0.2.0
-
GitHub Actions will automatically:
- Run tests
- Build binaries for all platforms (macOS, Linux, Windows)
- Create a GitHub release with the binaries
- Publish to npm (
@dosu/cli) - Update the Homebrew formula
- Production releases:
v1.0.0,v1.1.0,v2.0.0 - Pre-releases:
v0.1.0-alpha,v0.1.0-beta,v0.1.0-rc1
Pre-release tags (containing -alpha, -beta, -rc) are automatically marked as pre-releases on GitHub and published to npm under the next dist-tag.