dim13 / otpauth

Google Authenticator migration decoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

command not found: otpauth

notflip opened this issue · comments

Hi, thanks for this package
I extracted the contents to a folder, ran the command go get github.com/dim13/otpauth but then when I try to run the command below otpauth I get the error command not found: otpauth

I installed golang using brew, on mac.

Go installs compiled binaries into its own bin directory (usually ~/go/bin). A convenient way to make them accessible is to add

export PATH=$PATH:$(go env GOPATH)/bin

to your ~/.profile (or .bashrc or .zshrc) file.

See also https://golang.org/doc/gopath_code.html#GOPATH

Aha, perfect that solves it! Thank you.

I'm glad I could help you. Closing issue then.