# Elm package install not recognized

**URL:** <https://discourse.elm-lang.org/t/elm-package-install-not-recognized/7006>\
**Category:** Learn\
**Created:** [February 25, 2021, 10:54pm UTC](https://discourse.elm-lang.org/t/elm-package-install-not-recognized/7006 "2021-02-25T22:54:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chasahodge](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/chasahodge/32/3871_2.png) [@chasahodge](https://discourse.elm-lang.org/u/chasahodge)\
**Post date:** [February 25, 2021, 10:54pm UTC](https://discourse.elm-lang.org/t/elm-package-install-not-recognized/7006/1 "2021-02-25T22:54:40Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![JohnQWang](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/johnqwang/32/3812_2.png) [@JohnQWang](https://discourse.elm-lang.org/u/JohnQWang)\
**Post date:** [February 25, 2021, 11:28pm UTC](https://discourse.elm-lang.org/t/elm-package-install-not-recognized/7006/2 "2021-02-25T23:28:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pdamoc](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/pdamoc/32/36_2.png) [@pdamoc](https://discourse.elm-lang.org/u/pdamoc)\
**Post date:** [February 26, 2021, 7:42am UTC](https://discourse.elm-lang.org/t/elm-package-install-not-recognized/7006/3 "2021-02-26T07:42:12Z")

</div>

> [@chasahodge](#):
>
> There is no package command. I assume that something has changed since this tutorial was created.

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`.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)\
**Post date:** [March 8, 2021, 7:42am UTC](https://discourse.elm-lang.org/t/elm-package-install-not-recognized/7006/4 "2021-03-08T07:42:46Z")

</div>

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