# Failed to run 'elixir' command error in vs code

**URL:** <https://forum.elixirforum.com/t/failed-to-run-elixir-command-error-in-vs-code/31047>\
**Category:** Questions\
**Tags:** vscode, elixir-ls\
**Created:** [April 28, 2020, 2:47am UTC](https://forum.elixirforum.com/t/failed-to-run-elixir-command-error-in-vs-code/31047 "2020-04-28T02:47:55Z")\
**Posts on this page:** 1\
**Showing post:** 21

<div class="post-metadata">

**Author:** ![JVMartyns](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jvmartyns/32/26181_2.png) [@JVMartyns](https://forum.elixirforum.com/u/JVMartyns)\
**Post date:** [May 6, 2022, 12:46am UTC](https://forum.elixirforum.com/t/failed-to-run-elixir-command-error-in-vs-code/31047/21 "2022-05-06T00:46:20Z")

</div>

I solved it using:  
sudo dnf install erlang-dialyzer  
sudo dnf install erlang-edoc  
asdf local elixir 1.13.3  
asdf local erlang 24.3.4

---

_[View the full topic](https://forum.elixirforum.com/t/failed-to-run-elixir-command-error-in-vs-code/31047)._
