I have installed Go and if i check Go version it returns me
go version go1.20.3 darwin/amd64
Now i want to setup wails
I first enter
go install github.com/wailsapp/wails/v2/cmd/wails@latest
but when i enter
wails doctor will check if you have the correct dependencies installed. If not, it will advise on what is missing and help on how to rectify any problems.
i am getting command not found
I have also set Path by entering
echo 'export PATH=$PATH:/Users/devn/go/bin' >> ~/.bashrc
but still i am getting error wails not found
Follow these steps:- wails doctor zsh: command not found: wails mkdir ~/go mkdir: /Users/devn/go: File exists export GOPATH=~/go go install github.com/wailsapp/wails/v2/cmd/wails@latest
export PATH=$PATH:$(go env GOPATH)/bin
sudo ~/.bashrc
sudo: /Users/devn/.bashrc: command not found
sudo ~/.bash_profile
sudo: /Users/devn/.bash_profile: command not found
source ~/.bashrc
wails version v2.4.1