mirror of
https://github.com/zhigang1992/esbuild.git
synced 2026-01-12 17:13:19 +08:00
docs(README): update install command in Go (#210)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user