如何在没有管理员权利的情况下运行Heroku CLI?
我使用Windows 64位安装程序安装了Heroku CLI 在这里找到。管理员权限必须安装它。
Heroku CLI登录为管理员时运行良好: screenShot 1
C:\> heroku version
heroku/7.53.0 win32-x64 node-v12.21.0
我无法从标准中运行Heroku Cli非管理员帐户: ScreenShot 2
C:\> heroku version
'heroku' is not recognized as an internal or external command,
operable program or batch file.
我如何在没有管理员权利的情况下如何运行Heroku Cli?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须:
步骤1:转到控制面板
步骤2:转到用户帐户
步骤3:

步骤4:更改我的环境变量:

步骤5:选择路径
步骤6:点击编辑
步骤7:通过按新的
<强>步骤8:键入或浏览
/heroku/bin
文件目录无论您在何处安装它
步骤9:按所有菜单
步骤10:打开新的
终端/powerShell/commandsprompt
Heroku应该工作
You have to:
Step 1: Go to control panel
Step 2: Go to user account
Step 3:

Step 4: Change my environment variables:

Step 5: Select path
Step 6: Tap edit
Step 7: Add a new one by pressing new
Step 8: Type or browse the
/heroku/bin
file directorywherever you installed it
Step 9: Press ok for all the menus
Step 10: Open a new
terminal/powershell/commandprompt
heroku should work