How do I install Heroku CLI on Termux?
Asked Answered
V

1

11

Termux is a Linux terminal emulator for Android. I want to install the Heroku CLI to be able to manage my Heroku apps on the go, I tried typing heroku to prompt the error message and link to the right package, but it gives me:

No command 'heroku' found, did you mean:
 Command 'heyu' from package 'heyu'

I tried installing the CLI from the official website, but that didn't work out as well. What should I do?

Vidda answered 24/9, 2018 at 2:41 Comment(0)
V
15

Use the npm package heroku, its the complete CLI as what you find from the official website. Simply do

npm i -g heroku

Alternatively, you may use yarn. Install yarn by doing

pkg install yarn

and then install the Heroku CLI by

yarn add global heroku-cli@latest
Vidda answered 24/9, 2018 at 2:42 Comment(1)
Thank you Priit Balagopal, this solution works using termuxRozek

© 2022 - 2024 — McMap. All rights reserved.