Invalid operator error "--"

I am trying to create a project in a directory. It is showing syntax error.
I am trying : julia --project="GenX"

Can someone please help-out ?

Julia 1.7.2 it is

To activate a package you can do julia>]activate GenX, or if you want to generate a new package you switch activate for generate.

The syntax you used with julia --project=... is for use from a shell when starting julia.


Tried with shell & worked.