# \[solved\] Not able to install on windows

**URL:** <https://forum.gitea.com/t/solved-not-able-to-install-on-windows/2733>\
**Category:** Install/Maintain/Configure\
**Created:** [December 8, 2020, 2:21pm UTC](https://forum.gitea.com/t/solved-not-able-to-install-on-windows/2733 "2020-12-08T14:21:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gitgm](https://avatars.discourse-cdn.com/v4/letter/g/ebca7d/32.png) [@gitgm](https://forum.gitea.com/u/gitgm)\
**Post date:** [December 8, 2020, 2:21pm UTC](https://forum.gitea.com/t/solved-not-able-to-install-on-windows/2733/1 "2020-12-08T14:21:58Z")

</div>

Hi,

I have downloaded gitea "gitea-1.13.0-windows-4.0-amd64 " but when i run it as administror in windows 10 its crashes after verifying git version and i see only following info in the app.ini  
[oauth2]  
JWT\_SECRET = W4LEmHhw9xsxrOBSmIrsCo9XXXXXXXXXXX

[security]  
INTERNAL\_TOKEN = eyJhbGciOiJIUzI1NiIsInRXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXx

Can you please let me know what could be reason for this failure. ?

* * *

Also i tried to execute the setup through command prompt and i got below error  
:\gitea\> & ‘.\gitea-1.13.0-windows-4.0-amd64 (1).exe’ web  
2020/12/08 19:55:22 cmd/web.go:108:runWeb() [I] Starting Gitea on PID: 17504  
2020/12/08 19:55:25 …dules/setting/git.go:91:newGit() [I] Git Version: 2.16.2  
2020/12/08 19:55:31 routers/init.go:127:GlobalInit() [F] Git module init failed: Failed to set git user.name(exec(3:git.Init(set user.name)) failed: exit status 255() stdout: stderr: error: could not lock config file /home/XXXX/.gitconfig: No such file or directory  
): error: could not lock config file /home/XXXX/.gitconfig: No such file or directory

---

<div class="post-metadata">

**Author:** ![tyel](https://avatars.discourse-cdn.com/v4/letter/t/e274bd/32.png) [@tyel](https://forum.gitea.com/u/tyel)\
**Post date:** [December 8, 2020, 3:11pm UTC](https://forum.gitea.com/t/solved-not-able-to-install-on-windows/2733/2 "2020-12-08T15:11:07Z")

</div>

please verify that GIT and GO are installed and also accessible with system variable

---

<div class="post-metadata">

**Author:** ![gitgm](https://avatars.discourse-cdn.com/v4/letter/g/ebca7d/32.png) [@gitgm](https://forum.gitea.com/u/gitgm)\
**Post date:** [December 8, 2020, 4:04pm UTC](https://forum.gitea.com/t/solved-not-able-to-install-on-windows/2733/3 "2020-12-08T16:04:53Z")

</div>

Thanks for the Response.Just now i got this issue resolved, looks like it was due to missing of HOME variable in environment variable with the path reference to where the .gitconfig stored. and also i run the setup from the powershell promopt with below option and then the setup got completed successfully.  
\*\ ***& ‘.\gitea-1.13.0-windows-4.0-amd64.exe’ web**

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/techknowlogick/32/4706_2.png) [@techknowlogick](https://forum.gitea.com/u/techknowlogick)\
**Post date:** [December 10, 2020, 12:11am UTC](https://forum.gitea.com/t/solved-not-able-to-install-on-windows/2733/4 "2020-12-10T00:11:02Z")

</div>


