[SOLVED] CLI commands not found

metapod

New Member
Jul 1, 2026
2
0
1
Hi all,

I'm just getting started with a homelab. I'm pretty comfortable with linux but never used Proxmox before. I got it (9.2) installed on my machine. Disabled the pve and ceph enterprise repos (they were throwing errors on apt upgrade) and replaced them with the no-subscription repos. apt update && apt upgrade running error free.

I'm now following a tutorial to set up a pihole container. I can create the container just fine in the browser interface but going to the CLI, I find that that qm and pct don't appear to be installed. Strangely, the man pages are there, but the applications are not.

Bash:
# qm list
bash: qm: command not found
# pct enter 100
bash: pct: command not found
# which qm
# which pct

Soooo, what am I missing?
 
Did you switch to root via su or similar? Depending on how you did that your PATH might not be correct.
Try if /usr/sbin/qm works. The qm/pct command needs to be run on the node side. Don't use apt upgrade.
 
Last edited:
Adding /usr/sbin does the trick! I guess I just need to add this to the PATH.

And thanks for the link about upgrade.