小编Ash*_*317的帖子

安装后无法识别 Heroku CLI 命令

我已经安装了 Heroku CLI 和 git。安装后,我重新启动了命令提示符。当我运行 git 命令时,可以很好地识别这些命令。但是当我输入诸如 之类的 Heroku 命令时heroku version,它们无法被识别。

所以我将路径变量设置为指向 Heroku 安装。现在,Heroku 命令正在运行,但 git 命令无法识别。

实际问题是什么?

这里是cmd提示内容。

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Deva 5>git config --list
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
diff.astextplain.textconv=astextplain
rebase.autosquash=true
credential.helper=manager
user.email=****
user.name=****
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
core.hidedotfiles=dotGitOnly
gui.wmstate=normal
gui.geometry=888x427+150+150 171 192

C:\Users\Deva 5>heroku version
'heroku' is not recognized as an internal or external command,
operable program or batch …
Run Code Online (Sandbox Code Playgroud)

windows git heroku node.js heroku-toolbelt

2
推荐指数
1
解决办法
4956
查看次数

标签 统计

git ×1

heroku ×1

heroku-toolbelt ×1

node.js ×1

windows ×1