Home > Article > Backend Development > Command 'wails' not found in Linux, error installing wails Go
I am trying to install wails
in ubuntu 22.04
.
Go version go1.20.3
and npm version 6.14.11
are already installed on my system.
I followed all the steps in the official website tutorial.
No errors occurred with the steps mentioned in the above tutorial.
But when I try the following command
$ wails version
or
$ wails doctor
Then I get the error
$ Command 'wails' not found
Follow these commands
export GOPATH=~/go go install github.com/wailsapp/wails/v2/cmd/wails@latest export PATH=$PATH:$(go env GOPATH)/bin source ~/.bashrc wails version
devn@macbook-pro-2 ~ % crying version v2.4.1
The above is the detailed content of Command 'wails' not found in Linux, error installing wails Go. For more information, please follow other related articles on the PHP Chinese website!