What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-10-06 14:39:02
$path mac
The easiest way to add a new path to $PATH (the environment variable) is with the export command. In this example we’ll add “~/opt/bin” to the user PATH with export: export PATH=$PATH:~/opt/bin You can run that directly from the comman... Add solution -
Other 2021-10-04 07:23:04
protoc-gen-go: program not found or is not executable Please specify a program using absolute path or make sure the program is available in your PATH system variable --go_out: protoc-gen-go: Plugin failed with status code 1.
export GOROOT=/usr/local/go export GOPATH=$HOME/go export GOBIN=$GOPATH/bin export PATH=$PATH:$GOROOT:$GOPATH:$GOBIN Add solution