check heroku version code example
Example 1: install heroku cli on linux
sudo snap install --classic heroku
Example 2: heroku cli
npm i -g heroku
code to install heroku in windows
Example 3: how to know version of heroku
heroku -v
# to know ther version of heroku