Skip to content

Document installation via go install - #35

Merged
richhaase merged 1 commit into
mainfrom
docs/go-install
Jul 25, 2026
Merged

Document installation via go install#35
richhaase merged 1 commit into
mainfrom
docs/go-install

Conversation

@richhaase

Copy link
Copy Markdown
Owner

Leads the install section with go install, matching how bigboard documents itself:

go install github.com/richhaase/c2/cmd/c2@latest

with a pinned-version form alongside, and the checkout-and-make install path moved below since it is now the least common way in.

This is blocked on a version tag

The command does not work yet, and it is worth knowing why before merging. The module proxy resolves @latest to the highest semver tag, which is still v0.4.0 — the final TypeScript release, at a commit with no go.mod:

$ go install github.com/richhaase/c2/cmd/c2@latest
go: downloading github.com/richhaase/c2 v0.4.0
go: github.com/richhaase/c2/cmd/c2@latest: github.com/richhaase/c2@v0.4.0: verifying module ...

$ curl -s https://proxy.golang.org/github.com/richhaase/c2/@latest
{"Version":"v0.4.0", ..., "Ref":"refs/tags/v0.4.0"}

Cutting any version tag on the Go code fixes both forms at once, and release.yml will build and attach the macOS and Linux binaries the README now points at. I have not cut one — that publishes a public release, which is yours to trigger.

The pinned example names v0.5.0 on the assumption that is the next tag. If the first Go release is numbered differently, that line needs to follow it.

🤖 Generated with Claude Code

Leads with `go install github.com/richhaase/c2/cmd/c2@latest`, matching
how bigboard documents itself, with a pinned-version form alongside it.
The checkout-and-make path moves below, since it is now the least common
way in.

This does not work yet. The module proxy resolves @latest to the highest
semver tag, which is v0.4.0 — the last TypeScript release, at a commit
with no go.mod:

  $ go install github.com/richhaase/c2/cmd/c2@latest
  go: downloading github.com/richhaase/c2 v0.4.0
  go: github.com/richhaase/c2/cmd/c2@latest: ... v0.4.0: verifying module

A version tag on the Go code fixes both forms at once. The README names
v0.5.0 in the pinned example on that assumption; if the first Go tag is
numbered differently, that line needs to follow it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@richhaase
richhaase merged commit 24fefd2 into main Jul 25, 2026
8 checks passed
@richhaase
richhaase deleted the docs/go-install branch July 25, 2026 19:10
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.

1 participant