antonmedv / countdown

Terminal countdown timer
MIT License
1.06k stars 108 forks source link

-bash: countdown: command not found #10

Closed bofeiw closed 5 years ago

bofeiw commented 5 years ago

After installing go and do the install command, I still could not run countdown in Mac terminal, what's happening?

Screen Shot 2019-05-07 at 4 52 34 pm
antonmedv commented 5 years ago

Make sure bin in $PATH.

bofeiw commented 5 years ago

Sorry about late reply. It works for me now. I manually cd into ~/go/bin and then typed countdown. Im new to go, and struggled a while before get it works. If the install script automatically add bin into PATH, it will save new goers a lot of time. Would you consider this feature? @antonmedv ?

antonmedv commented 5 years ago

This is go feature. Make sure you properly installed go, ie added bin to path.

bofeiw commented 5 years ago

Thanks.

jakob1379 commented 1 year ago

for other people who end up here:

If go/bin is not in your path, you can add it by ```/bin

export PATH=${PATH}:`go env GOPATH`/bin