wget https://go.dev/dl/go1.20.4.linux-amd64.tar.gz
tar -xzvf go1.20.4.linux-amd64.tar.gz -C /usr/local/
vim ~/.bashrc
export GOPATH=/root/gopath
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
source ~/.bashrc
go get github.com/playwright-community/playwright-go
go run github.com/playwright-community/playwright-go/cmd/playwright install --with-deps
# Or
go install github.com/playwright-community/playwright-go/cmd/playwright
playwright install --with-deps
标签:playwright,tar,community,github,export,go
From: https://www.cnblogs.com/yzpopulation/p/17472945.html