Error installing script on Raspberry Pi OS 64 bit

Dear friends,
has anyone faced this same error and managed to solve it?

roberto@raspberrypi:~ $ curl | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 315 100 315 0 0 477 0 --:–:-- --:–:-- --:–:-- 477
bash: line 1: syntax error near unexpected token newline' bash: line 1:

roberto@raspberrypi:~ $ uname -a
Linux raspberrypi 5.15.56-v8+ #1575 SMP PREEMPT Fri Jul 22 20:31:26 BST 2022 aarch64 GNU/Linux

Thank you,

I don’t know if it was the same error i had, when trying to run the script, but I eventually realized that Raspberry OS lite is missing dependencies and that one have to use the full OS.
This was on Bullseye, and trying to run the script for Argon One M.2.