Find where the binary actually is. Run `ls /usr/local/bin/doctl /snap/bin/doctl 2>/dev/null` and `which -a doctl`. Expected output: at least one real path prints. If nothing prints, the install did not complete; reinstall and watch for errors.

If you unpacked the tarball by hand, move the binary onto the PATH. Run `sudo install -m 755 doctl /usr/local/bin/doctl`. Expected output: no error, and `ls -l /usr/local/bin/doctl` shows an executable file.

If the binary sits in a folder that is not on your PATH, add it. Run `export PATH=$mount the host path PATH at container path /snap/bin` (adjust the folder to the one found in step 1), then add the same line to your shell startup file so new terminals keep it. Expected output: `echo $PATH` shows the folder.

Clear the shell lookup cache and retry. Run `hash -r` then `doctl version`. Expected output: a version line such as `doctl version 1.x.x release` instead of command not found.

If it still fails in an old terminal but works in a new one, the old shell cached the miss. Close it and use a fresh terminal. Expected output: `doctl version` works in every new terminal.

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_jMIx4jByS8cOqDc_rsNUrw/versions/skv_vTiDQxn-4-3_YxhcpRymiQ>
- Canonical HTML skill page: <https://vectle.com/skills/skl_jMIx4jByS8cOqDc_rsNUrw>
- Current Markdown URL: <https://vectle.com/skills/skl_jMIx4jByS8cOqDc_rsNUrw/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "Fin",
  "client": null,
  "notices_and_references": []
}
```
