zsh: command not found: sqlc #2985
-
Version1.23.0 What happened?I installed sqlc using If I run sqlc version it says my go version - go1.21.3 darwin/arm64 I'm a newbie to go. Do I have to add anything to path or something like that? What operating system are you using?MacOS |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
Hey @dmgcoding, one quick question, do you have set the |
Beta Was this translation helpful? Give feedback.
-
what should the path be? to the go>bin folder? |
Beta Was this translation helpful? Give feedback.
-
The documentation suggest
|
Beta Was this translation helpful? Give feedback.
-
@dmgcoding Have you taken a look at our installation guide? You have a few options to install sqlc. Since you're on macOS, I'd suggest using If you want to use Good luck! |
Beta Was this translation helpful? Give feedback.
-
GOBIN is set to the go>bin file path. Still it is the same |
Beta Was this translation helpful? Give feedback.
-
I see sqlc executable inside go/bin folder. If I open that it says Saving session... [Process completed]` |
Beta Was this translation helpful? Give feedback.
-
brew install works. |
Beta Was this translation helpful? Give feedback.
The documentation suggest
GOBIN=$GOPATH/bin
, so yes go/bin should be good