mac新系统big sur下可能会出问题

执行air -v时,提示:

zsh: command not found: air

于是我在.zshrc中加了如下两行:

export GOPATH=$HOME/go

export PATH=$HOME/go/bin:$PATH

然后执行

source .zshrc

这样就能用air -v

希望能帮到遇到同样问题的人

讨论数量: 1

还是不行,很奇怪,在goland ide 可以正常使用air ,但是在vs code以及os的命令行 air -v 都失败 题主有试过这样的情况不

3年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!