How to enable the no-subscription repository in Proxmox VE using the CLI

1. Check your Proxmox version

pveversion

2. Disable the enterprise repository

Proxmox VE 7 & 8

Edit:

nano /etc/apt/sources.list.d/pve-enterprise.list

Comment the line:

# deb https://enterprise.proxmox.com/debian/pve bookworm enterprise
(On Proxmox 7, replace bookworm with bullseye depending on your system.)

Proxmox VE 9

Edit:

nano /etc/apt/sources.list.d/pve-enterprise.sources

Comment the entire block:

# Types: deb
# URIs: https://enterprise.proxmox.com/debian/pve
# Suites: bookworm
# Components: pve-enterprise

3. Enable the no-subscription repository

Proxmox VE 7 & 8

Edit:

nano /etc/apt/sources.list

Add:

deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription

(On Proxmox 7, replace bookworm with bullseye depending on your system.)

Proxmox VE 9

Edit:

nano /etc/apt/sources.list.d/pve-no-subscription.sources

Add this block:

Types: deb
URIs: http://download.proxmox.com/debian/pve
Suites: trixie
Components: pve-no-subscription
Architectures: amd64

4. Update package lists

apt update