-
-
Notifications
You must be signed in to change notification settings - Fork 763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zsh: command not found: air #135
Comments
same issue, on m1 mac |
That's to be expected. Your choices:
|
What @rizalgowandy said ^ My binary got installed in /Users/your-username/go/bin/air |
It works for me after I removed "." -> alias air='$(go env GOPATH)/bin/air' |
Go noob here, same problem. I installed both using the installer, and also with
Works for either one? |
this one is the solution. close... |
Nice! Inserting this alias in bashrc or zshrc makes any terminal session definitive for those who don't already know |
This works for me. But every time i close/reopen i need to set the alias. Is there a more permanent option? |
@gabr0236 Check if there's any other path to your bashrc/zshrc. As always the default path is in ~/. Some of those topics can be useful: |
zsh: command not found: air 可参考 cosmtrek/air#135
This need to be updated on doc |
You will need to update your |
tried to installed air using both
go get -u github.com/cosmtrek/air
and
curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
then added alias air='~/.air' to .zshrc file
sourced the .zshrc (even restarted the terminal)
then run
air -c .air.toml
zsh: no such file or directory: /home/mee/.air
system: ubuntu 18.04
The text was updated successfully, but these errors were encountered: