# Install an older version of Haxe.

**URL:** <https://community.haxe.org/t/install-an-older-version-of-haxe/3331>\
**Category:** Haxe\
**Created:** [November 11, 2021, 8:05am UTC](https://community.haxe.org/t/install-an-older-version-of-haxe/3331 "2021-11-11T08:05:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maximax11234](https://avatars.discourse-cdn.com/v2/letter/m/87869e/32.png) [@maximax11234](https://community.haxe.org/u/maximax11234)\
**Post date:** [November 11, 2021, 8:05am UTC](https://community.haxe.org/t/install-an-older-version-of-haxe/3331/1 "2021-11-11T08:05:26Z")

</div>

Hello!

I need to install the Haxe version 4.1.5 on an Ubuntu machine through the terminal but it only installs the latest version. How to install an older version of Haxe through the terminal?

Thank you!

---

<div class="post-metadata">

**Author:** ![RealyUniqueName](https://community.haxe.org/user_avatar/community.haxe.org/realyuniquename/32/10_2.png) [@RealyUniqueName](https://community.haxe.org/u/RealyUniqueName)\
**Post date:** [November 11, 2021, 8:48am UTC](https://community.haxe.org/t/install-an-older-version-of-haxe/3331/2 "2021-11-11T08:48:29Z")

</div>

You have to download binaries manually with `wget` or `curl` utilities from [https://github.com/HaxeFoundation/haxe/releases/download/4.1.5/haxe-4.1.5-linux64.tar.gz](https://github.com/HaxeFoundation/haxe/releases/download/4.1.5/haxe-4.1.5-linux64.tar.gz)  
Unpack it and then add it to `$PATH` environment variable.

---

<div class="post-metadata">

**Author:** ![cedx](https://community.haxe.org/user_avatar/community.haxe.org/cedx/32/2377_2.png) [@cedx](https://community.haxe.org/u/cedx)\
**Post date:** [November 11, 2021, 12:39pm UTC](https://community.haxe.org/t/install-an-older-version-of-haxe/3331/3 "2021-11-11T12:39:13Z")

</div>

You could also consider using the [`lix` package manager](https://github.com/lix-pm/lix.client) instead of `haxelib`. One great feature of this package manager is that it let you download and use a different version of Haxe **per project**.

```haxe
lix install haxe 4.1.5

```
