如何在我的Kali Linux操作系统中安装Heroku?

发布于 2025-01-28 12:05:49 字数 107 浏览 1 评论 0原文

我不能在我的Kali Linux操作系统中安装Heroku。如何解决这个问题?

难道不可能在Kali Linux运行Heroku吗?

当我尝试安装时,它显示了SNAP命令。

I cant install heroku in my kali linux operating system. how can i resolve this issue?

isn't it not possible to run heroku in kali linux?

when I have try to install, it show snap command not found.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

酷炫老祖宗 2025-02-04 12:05:49

heroku不再支持Snap Installs

不再支持快照安装。请在下面使用另一种安装方法。

由于 kali> kali> kali源自debian ,您应该能够使用 debian/ubuntu方法 )或独立的tarball方法(哪个(哪个)做)。您还可以使用 npm/yarn软件包如果您喜欢,尽管Heroku建议反对。

所有这些选择都需要对Heroku的信任。前两个将脚本从Internet中撤下,然后将其输送到sh中,这总是让我有些不安。我怀疑他们都要求在安装过程中提高特权。我建议您下载它,至少是第一次让它快速阅读,而不是直接将文件输送到sh

无论如何,这是Heroku建议安装独立版本的命令:

curl https://cli-assets.heroku.com/install.sh | sh

Heroku no longer supports Snap installs:

Snap installs are no longer supported. Please use another install method below.

Since Kali is derived from Debian, you should be able to use the Debian / Ubuntu method (which doesn't auto-update) or the standalone tarball method (which does). You can also use the NPM / Yarn package if you prefer, though Heroku recommends against it.

All of these options require some amount of trust in Heroku. The first two pull a script down from the Internet and pipe it into sh, which always makes me a bit uneasy. I suspect they both request elevated privileges during the install process. Instead of piping the file directly in to sh as Heroku recommends, I suggest you download it and at least give it a quick read through the first time.

In any case, here is the command that Heroku recommends to install the standalone version:

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