Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 1.32 KB

File metadata and controls

60 lines (39 loc) · 1.32 KB

Installation

dygo release binaries are distributed through GitHub Releases.

Install the latest release:

curl -fsSL https://dygo.dev/install | sh

The installer places the managed binary in:

~/.dygo/bin

If that directory is not on PATH, the installer prints the shell profile line to add.

Options

Install a specific version:

curl -fsSL https://dygo.dev/install | DYGO_VERSION=v0.1.0 sh

Install somewhere else:

curl -fsSL https://dygo.dev/install | DYGO_INSTALL_DIR=/usr/local/bin sh

Windows PowerShell:

irm https://dygo.dev/install.ps1 | iex

Upgrades

Update the dygo binary out of band with the installer:

curl -fsSL https://dygo.dev/install | sh

Inside a generated dygo project, dygo upgrade updates the project go.mod dygo dependency, dygo-managed generated runner files, and the cached Studio UI assets when the target dygo version differs from the project version. Project upgrades refuse dirty git worktrees.

Useful upgrade modes:

dygo upgrade --check
dygo upgrade --dry-run
dygo upgrade --to v0.1.0
dygo upgrade --yes

The installers verify the archive checksum and the embedded dygo version before they replace the managed binary.

Maintainers should use the Release Process to build, tag, and publish framework releases.