# DFX Version Error

**URL:** <https://forum.dfinity.org/t/dfx-version-error/16793>\
**Category:** Language Support\
**Tags:** Motoko\
**Created:** [November 23, 2022, 8:47am UTC](https://forum.dfinity.org/t/dfx-version-error/16793 "2022-11-23T08:47:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShahidKhan09](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/shahidkhan09/32/7883_2.png) [@ShahidKhan09](https://forum.dfinity.org/u/ShahidKhan09)\
**Post date:** [November 23, 2022, 8:47am UTC](https://forum.dfinity.org/t/dfx-version-error/16793/1 "2022-11-23T08:47:10Z")

</div>

```auto
Warning: The version of DFX used (0.9.3) is different than the version being run (0.12.1). This might happen because your dfx.json specifies an older version, or DFX_VERSION is set in your environment. We are forwarding the command line to the old version. To disable this warning, set the DFX_WARNING=-version_check environment variable. Error when trying to forward to project dfx: Invalid cache for version 0.9.3.Installed executable: 0.12.1

```

 ![motoko](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/2X/f/f8e0f6ef03c8f710e3cb5024fc8760aa9b83c330.png)

---

<div class="post-metadata">

**Author:** ![ShahidKhan09](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/shahidkhan09/32/7883_2.png) [@ShahidKhan09](https://forum.dfinity.org/u/ShahidKhan09)\
**Post date:** [November 23, 2022, 8:50am UTC](https://forum.dfinity.org/t/dfx-version-error/16793/2 "2022-11-23T08:50:14Z")

</div>

```auto
DFX_VERSION=0.8.3 sh -ci "$(curl -sSL https://sdk.dfinity.org/install.sh)"

```

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [November 23, 2022, 9:25am UTC](https://forum.dfinity.org/t/dfx-version-error/16793/3 "2022-11-23T09:25:19Z")

</div>

Could you please describe your problem and what about the error message is not understandable?

---

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [November 23, 2022, 10:04am UTC](https://forum.dfinity.org/t/dfx-version-error/16793/5 "2022-11-23T10:04:16Z")

</div>

Yes, that’s the error message you showed above already. I’m still not sure what your problem is.

> [@ShahidKhan09](#):
>
> This might happen because your dfx.json specifies an older version

this is likely the relevant section of the error message
