The most user-friendly alternative to console commands is a trainer software like WeMod . It runs in the background and lets you press F-keys (F1, F2, etc.) to activate cheats like:

To use actual "console commands" in-game, you must first install the mod from Nexus Mods .

Why? Primarily because of the game’s persistent online infrastructure. State of Decay 2 features cross-save and multiplayer elements. A simple console command could corrupt saves or cause desynchronization in co-op.