**Bydefault,elixir-lsdoesn't have a `cmd` set.** This is because nvim-lspconfig does not make assumptions about your path. You must add the following to your init.vim or init.lua to set `cmd` to the absolute path ($HOME and ~ are not expanded) of your unzipped elixir-ls.
```lua
require'lspconfig'.elixirls.setup{
-- Unix
cmd={"/path/to/elixir-ls/language_server.sh"};
-- Windows
cmd={"/path/to/elixir-ls/language_server.bat"};
...
}
```
]],
default_config={
root_dir=[[root_pattern("mix.exs", ".git") or vim.loop.os_homedir()]],