If your question was more specific or related to a particular error during installation or configuration, providing more details could help in giving a more precise answer.
libcamera-hello --camera 0 --width 3840 --height 2160
sudo raspi-config → Interface Options → Camera → Enable → Yes → Reboot