Installing doctl on Ubuntu

Go to

https://github.com/digitalocean/doctl/releases

Download latest version for linux 64 bit.

digitalocean