The command app:info
no longer seems to be a heroku
command but just info
will do the same thing so:
heroku info -s | grep web_url | cut -d= -f2
or to set the variable
heroku config:set HEROKU_URL=$(heroku info -s | grep web_url | cut -d= -f2)