[Solved] How to get the sh formatter up and running?


The command is installed as $HOME/go/bin/shfmt (unless GOBIN is set, then it’s $GOBIN/shfmt):

$ go help install
usage: go install [-i] [build flags] [packages]

Install compiles and installs the packages named by the import paths.

Executables are installed in the directory named by the GOBIN environment
variable, which defaults to $GOPATH/bin or $HOME/go/bin if the GOPATH
environment variable is not set.

solved How to get the sh formatter up and running?