Elm package install not recognized

I’m following a tutorial to setup a new elm project and it wants to use the following code:
elm package install elm-lang/http
and elm comes back with There is no package command. I assume that something has changed since this tutorial was created. what is the correct syntax to use?

1 Like

The package name should be elm/http, not elm-lang/http. Install it by elm install elm/http.

1 Like

Yes, from what I remembered there used to be an elm-package binary and elm package install would call that binary. Now, the elm binary took over the responsibilities and so, the package argument is no longer necessary elm install, elm diff, elm bump and elm publish accomplish the functionality that used to live in elm-package.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.