win11 bee命令安装不上
go version
go1.22.4 windows/amd64
如下我按照网上教程安装bee命令,执行完了没有输出结果,使用bee命令也没有提示
go install github.com/beego/bee/v2@latest
故此使用离线安装
访问
https://github.com/beego/bee
找个目录解压一下
进入编辑器这个目录执行
go build
然后会出现
.\bee.exe
2024/08/15 13:32:36.647 [D] init global config instance failed. If you do not use this, just ignore it. open conf/app.conf: The system cannot find the path specified.
Bee is a Fast and Flexible tool for managing your Beego Web Application.
You are using bee for beego v2.x. If you are working on beego v1.x, please downgrade version to bee v1.12.0
USAGE
bee command [arguments]
AVAILABLE COMMANDS
dev Commands which used to help to develop beego and bee
把这个文件复制到go的SDK里面的bin目录下,也就是
GOPATH/bin目录里面
执行bee命令成功