d2
d2 copied to clipboard
cmd/d2: Make root, d2 is a CLI tool first and library second
go get oss.terrastruct.com/d2 should be enough to install the CLI.
can u elaborate?
https://tip.golang.org/doc/go1.16#modules
use of go get to build and install packages is deprecated.
i meant go install oss.terrastruct.com/d2@latest