'Heroku - Run Heroku CLI commands from web dashboard

Is it possible to run heroku-cli-commands like heroku regions from the Heroku Dashboard?

I tried to run those in the console, but it did not work..

Excerpt of the Heroku website, showing the console



Solution 1:[1]

From the heroku explanation page, as well as the appearance of the console, it seems that you can only run commands that start with heroku run (Example: npm start).

That means you can run commands there for the app, and heroku will pass them to it. Like you could run if the app was running on your computer. But do not run regular heroku cli commands, for example install an add-on, through the dashboard on the website, but only through heroku cli

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shlomo