How to confirm something in Linux command-line prompt

In order to install Composer on my OVH web hosting service, I need to pass some SSH commands.
To pass them, OVH wants me to install some CLI using commands (guide here)
To connect using certificate-based authentication, install the Web PaaS CLI.
!PtQcX|690x316
The command doesn't work on the Windows Terminal

To pass them, OVH wants me to install some CLI using commands (guide here)

To connect using certificate-based authentication, install the Web PaaS CLI.

!krdPh|690x179
So I tried from the Linux prompt from my Hive OS mining machine
So I pasted

curl -sfS https://eu.cli.webpaas.ovhcloud.com/installer | php
in the Command prompt, and I got served with

Command 'php' not nound, but can be installed with … Olansi

so I then tried

curl -sfS | apt install php7.2-cli
and from there, it asked me to confirm.

Do you want to continue? [Y/n] Abort.

I tried to type "Y" and enter, but that doesn't do it.

How do you confirm this at this point?