'How to run Heroku CLI without administrator rights?

I installed Heroku CLI with the Windows 64-bit installer found here. Administrator rights were required to install it.

Heroku CLI runs fine when logged in as administrator: screenshot 1

C:\> heroku version
heroku/7.53.0 win32-x64 node-v12.21.0

I cannot run Heroku CLI from a standard non-administrator account: screenshot 2

C:\> heroku version
'heroku' is not recognized as an internal or external command,
operable program or batch file.

How do I run Heroku CLI without administrator rights?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source