I did as it was written, I copied and pasted the code, but it gives this error continually. What am I doing wrong please?
You have typed that into
mongosh that command is intended for the command line on the host.
mongosh and try the command again.