When running plain elm install, you get an "Install What" error message.
However, elm install --help will show you that both elm install <package name> and plain elm install are proper usages of the command. So I think that help text needs to be fixed:
$ elm install --help
The `install` command fetches packages from <https://package.elm-lang.org> for
use in your project:
elm install
elm install <package>
For example, if you want to get packages for HTTP and JSON, you would say:
elm install elm/http
elm install elm/json
Notice that you must say the AUTHOR name and PROJECT name! After running those
commands, you could say `import Http` or `import Json.Decode` in your code.
What if two projects use different versions of the same package? No problem!
Each project is independent, so there cannot be conflicts like that!
When running plain
elm install
, you get an "Install What" error message.However,
elm install --help
will show you that bothelm install <package name>
and plainelm install
are proper usages of the command. So I think that help text needs to be fixed: