如何在没有管理员权利的情况下运行Heroku CLI?

发布于 2025-01-25 01:37:21 字数 713 浏览 3 评论 0原文

我使用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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

计㈡愣 2025-02-01 01:37:21

您必须:

步骤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:
enter image description here

Step 4: Change my environment variables:
enter image description here

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 directory
wherever you installed it

Step 9: Press ok for all the menus

Step 10: Open a new terminal/powershell/commandprompt
heroku should work

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文