d2 icon indicating copy to clipboard operation
d2 copied to clipboard

cmd/d2: Make root, d2 is a CLI tool first and library second

Open nhooyr opened this issue 3 years ago • 2 comments

go get oss.terrastruct.com/d2 should be enough to install the CLI.

nhooyr avatar Nov 17 '22 07:11 nhooyr

can u elaborate?

https://tip.golang.org/doc/go1.16#modules

use of go get to build and install packages is deprecated.

alixander avatar Nov 17 '22 18:11 alixander

i meant go install oss.terrastruct.com/d2@latest

nhooyr avatar Nov 17 '22 19:11 nhooyr