Connection refused when installing rio

When trying to install rio from this setup guide:

It throws this error:

$ rio install

Get http://localhost:8080/api/v1/namespaces/rio-system/configmaps/rio-config: dial tcp 127.0.0.1:8080: connect: connection refused 

Prior to trying to install rio I installed Rancher from this guide:

And from the dashboard, it shows: Provider: K3s, Kubernetes version: v1.18.8+k3s1 and 1 node

What’s the proper way to install rio?

Do you have KUBECONFIG environment variable configured? Does kubectl version return the server version (besides the client version)