how to change heroku version locally code example
Example 1: download heroku ubuntu
$ sudo snap install --classic heroku
Example 2: heroku cli
npm i -g heroku
code to install heroku in windows
Example 3: how to change heroku version locally
$ heroku stack:set heroku-20