Debian 10 with HA can't access GPIO pin

Hopefully someone can help, I’ve just installed Home Assistant on a RPI4 running Debian 10 with SSD. With Debian 10, Home Assistant can’t access the GPIO pins. Anyone have a sudo command to grant access to Home Assistant?
Prior to Debian 10 I was running Rasp OS lite and Home Assistant was able to access the GPIO pins.

Can you access gpio from command line?

I think, I read somewhere that you can’t access gpio pins with 64bit … I ended up making a relay switch with a 8266board for now