Error cannot execute binary file

The latest version of raspberry pi 32 does not work with the url curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash

error
sudo bash curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash
/usr/bin/curl: /usr/bin/curl: cannot execute binary file

Could you please provide some more information.
You have which version of the raspberry pi and you use which version of raspberry OS?

Is the latest version the raspberry OS lite 32 bit based on bullseye / Debian 11?

And a further thought did you perform the command with root privileges?

Your command is incorrect.
Try:

curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | sudo bash

Good evening a vous
now I have restored my sd card, see here what I tried to do

I found the command here https://ownyourbits.com/nextcloudpi/

First download only the file:
wget https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh
(you can also use a browser and upload it again to your Pi)

Then
chmod 755 install.sh
And then execute with the correct user (e.g. root?)
./install.sh

To your error:

That is not a good error. Perhaps a problem with your Pi installation.
Maybe you must install a new system.

Post:

dpkg -S /usr/bin/curl
dpkg -l |grep curl

Thank you very much devnull
here are the results

dpkg -S /usr/bin/curl
curl: /usr/bin/curl

dpkg -l |grep curl
ii curl 7.64.0-4+deb10u2 armhf command line tool for transferring data with URL syntax ii libcurl3-gnutls:armhf 7.64.0-4+deb10u2 armhf easy-to-use client-side URL transfer library (GnuTLS flavour) ii libcurl4:armhf 7.64.0-4+deb10u2 armhf easy-to-use client-side URL transfer library (OpenSSL flavour) ii php7.3-curl