Skip to content
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

bee command is unknown in Powershell #96

Closed
digitalcraftsman opened this issue Feb 6, 2015 · 3 comments
Closed

bee command is unknown in Powershell #96

digitalcraftsman opened this issue Feb 6, 2015 · 3 comments

Comments

@digitalcraftsman
Copy link

I tried to creat my first beego project. Window's Powershell didn't recognized the bee new projectName command, after I cloned the bee repo. As in the docs described, I switched to %GOPATH%/src and executed the command there. The %GOPATH% was setup successfully, since the import of other packages worked well.

How can I register the bee command in Windows?

@astaxie
Copy link
Member

astaxie commented Feb 6, 2015

I think you should add %GOPATH%/bin to your PATH

@digitalcraftsman
Copy link
Author

The %GOPATH% works fine. The /bin folder contains bee.exe and I'm able to call it from %GOPATH%/src with the following command:

..\bin\bee new projectName

But the ´`bee new`` command is unknown, if I try it at %GOPATH% directly.

@digitalcraftsman
Copy link
Author

I needed to add %GOPATH%\bin to the %PATH% variable. Thanks for your help anyway and keep going with this awesome project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants