Syntax Error: "Missing semicolon"

Hi @Ariel_Nurieli,

Not all mongosh command needs to be executed from the OS prompt. The options of the mongosh can be executed from the OS prompt. You can see all the options after running mongosh --help.

To see all the mongosh options refer to this link: https://www.mongodb.com/docs/mongodb-shell/reference/options/#options

And for all the methods of mongosh: https://www.mongodb.com/docs/mongodb-shell/reference/methods/

I hope it helps! Please let us know if you have any further questions

Thanks,
Kushagra