(01)Install DigitalOcean CLI
Linux
1cd ~ && wget https://github.com/digitalocean/doctl/releases/download/v1.104.0/doctl-1.104.0-linux-amd64.tar.gz2tar xf doctl-1.104.0-linux-amd64.tar.gz && sudo mv doctl /usr/local/bin/Manage DigitalOcean droplets, K8s, and DNS from terminal
What is this?
doctl manages DigitalOcean droplets, Kubernetes clusters, and DNS from the command line.
Step 01
1cd ~ && wget https://github.com/digitalocean/doctl/releases/download/v1.104.0/doctl-1.104.0-linux-amd64.tar.gz2tar xf doctl-1.104.0-linux-amd64.tar.gz && sudo mv doctl /usr/local/bin/Step 02
1doctl auth init2# Paste API token from cloud.digitalocean.com/account/api/tokensStep 03
1doctl account get2doctl compute droplet list