From dc379db92a10c2641a9435f9eb7d0dc45eaecab5 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Thu, 2 Jul 2020 07:36:44 +0800 Subject: [PATCH] docs(README): update install command in Go (#210) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d41744c9..a19720a3 100644 --- a/README.md +++ b/README.md @@ -304,7 +304,7 @@ Substitute `0.0.0` for the version of esbuild that you want to download. If you have the Go compiler toolchain installed, you can use it to install the `esbuild` command globally: ``` -GO111MODULE=on go get https://github.com/evanw/esbuild@v0.0.0 +GO111MODULE=on go get github.com/evanw/esbuild/cmd/esbuild@v0.0.0 ``` The binary will be placed in Go's global binary directory (the directory called `bin` located inside the directory returned by `go env GOPATH`). You may need to add that `bin` directory to your `PATH`. Substitute `v0.0.0` for the version of esbuild that you want to build.