# Downgrade to v18

**URL:** https://discourse.elm-lang.org/t/downgrade-to-v18/2005
**Category:** Learn
**Created:** [September 18, 2018, 10:17pm UTC](https://discourse.elm-lang.org/t/downgrade-to-v18/2005 "2018-09-18T22:17:21Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![avh4](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/avh4/32/97_2.png) [@avh4](https://discourse.elm-lang.org/u/avh4)
#### Post date: [September 19, 2018, 1:23am UTC](https://discourse.elm-lang.org/t/downgrade-to-v18/2005/2 "2018-09-19T01:23:22Z")

</div>

Does homebrew have a way to install older versions of packages? If so, that might be worth considering.

If you want Elm installed globally, I would probably recommend uninstalling the homebrew version of Elm and using the following to switch when you need to

```bash
npm install -g elm@elm0.18.0
npm install -g elm@elm0.19.0

```

Personally, I tend to use npm to locally install elm (and elm-test, elm-format) in the correct versions for each project (adding them as dev dependencies in the package.json ([example](https://github.com/avh4/elm-color/blob/master/package.json))), and then I can use `npx elm` to run the version that’s install locally for whatever project I’m currently in.

---

_[View the full topic](https://discourse.elm-lang.org/t/downgrade-to-v18/2005)._
