You can configure the network interface from the CLI like described here:
https://vitux.com/network-configuration-in-debian/
The screenshot shows IPv6. Not sure if you need to separately enable IPv4 or if this will be done when you do the configuration as described in the link.