Intellij: cannot select directory for Erlang and Elixir SDK

Hello!

I’m trying to set up Erlang and Elixir SDK on Intellij on my Windows machine. On intellij, both elixir and erlang plugins are installed. Elixir and erlang was installed through homebrew for linux on WSL.

Following the guide on the intellij-elixir plugin, I tried to select /home/linuxbrew/.linuxbrew/Cellar/elixir/VERSION and /home/linuxbrew/.linuxbrew/Cellar/erlang/VERSION for the corresponding SDK. But got errors saying that “The selected directory is not a valid home for Erlang/Elixir SDK”. The file window on Intellij showed no content under erlang/26.2.1/bin or elixir/1.16.1/bin, but I have verified in the terminal that the bins have what we need.

What could have gone wrong?