What happens if you omit the dash in the package name? You wrote -dotnet-mgcb-editor, but what if you write dotnet-mgcb-editor?
Can verify this quite easily by just testing the package names on the nuget website.
Valid url https://www.nuget.org/packages/dotnet-mgcb-editor/
Not valid url https://www.nuget.org/packages/-dotnet-mgcb-editor/
When working with CLI commands you’re not supposed to add - or -- with what you actually use as a input, you use those to annotate nouns/adjectives which can take inputs. Imagine if the install command took a C# string, would you write "-Hello World" instead of "Hello world".
Just for the record, I prefer to copy paste terminal commands from the installation instructions whenever I install anything via the command line. Reduces probability for typos