Guide to build gitea from source in Windows #7493

Closed
opened 2025-11-02 07:27:25 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @zuhairamahdi on GitHub (Jun 20, 2021).

is there a guide to build gitea from source in Windows? I installed make but I'm still unable to get it to build.

Originally created by @zuhairamahdi on GitHub (Jun 20, 2021). is there a guide to build gitea from source in Windows? I installed `make` but I'm still unable to get it to build.
GiteaMirror added the type/docs label 2025-11-02 07:27:25 -06:00
Author
Owner

@techknowlogick commented on GitHub (Jun 20, 2021):

What errors are you getting? The maintainers who use windows use make, and reference the following page for details: https://docs.gitea.io/en-us/hacking-on-gitea/#on-windows

Edit: Do you have golang, npm/nodejs, and other dependencies listed installed as well?

@techknowlogick commented on GitHub (Jun 20, 2021): What errors are you getting? The maintainers who use windows use make, and reference the following page for details: https://docs.gitea.io/en-us/hacking-on-gitea/#on-windows Edit: Do you have golang, npm/nodejs, and other dependencies listed installed as well?
Author
Owner

@zuhairamahdi commented on GitHub (Jun 21, 2021):

@techknowlogick I managed to have it built in Windows. but the issue was that the TAGS was not accepted using the cmd and PowerShell but worked without any issues with git bash even though make was installed and working in all of them.

@zuhairamahdi commented on GitHub (Jun 21, 2021): @techknowlogick I managed to have it built in Windows. but the issue was that the TAGS was not accepted using the cmd and PowerShell but worked without any issues with git bash even though `make` was installed and working in all of them.
Author
Owner

@techknowlogick commented on GitHub (Jun 22, 2021):

Ah yes, Windows uses an alternative way to set env vars, it is something like set ENV_VAR=value or something. I've marked this issue as a docs issue so that section I linked above can have that information added (assuming powershell is used, but note git bash is posix compliant linux way is possible)

@techknowlogick commented on GitHub (Jun 22, 2021): Ah yes, Windows uses an alternative way to set env vars, it is something like `set ENV_VAR=value` or something. I've marked this issue as a docs issue so that section I linked above can have that information added (assuming powershell is used, but note git bash is posix compliant linux way is possible)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#7493