Linux 8+ NetworkManager

Adding a new connection using nmcli:

nmcli con add con-name enp9s0 type 802-3-ethernet ifname enp9s0 ipv4.method manual ipv4.address 192.168.1.183 ipv4.gateway 192.168.1.1

Don't forget to restart the NetworkMaager in order to activate the changes.