Reputation: 5834
I don't have admin rights on my Windows machine and I am trying to install Go whose installer needs admin rights to complete the installation.
Is there any way to install Go on Windows without admin rights?
Upvotes: 19
Views: 15534
Reputation: 3074
Can you download the Windows ZIP archive and extract it to somewhere in your User folder?
You would then need to update the GOROOT
and PATH
environment variables accordingly.
Upvotes: 22
Reputation: 181
The question is still relevant and the preceding answer is still correct, but the link should be updated to https://go.dev/dl/ to obtain a Windows zip archive and not the msi installer.
It is also worth noting that environment variables may be found and edited by using the search bar to find "Edit the system environment variables" in the control panel.
Upvotes: 3