On Bullseye you should use the libcamera-still command.
libcamera-still -t 0
If there are any errors please refer to: