diff --git a/docs/docs/installation/debian_based_en.md b/docs/docs/installation/debian_based_en.md index ba9ee3bd4..83c979d2e 100644 --- a/docs/docs/installation/debian_based_en.md +++ b/docs/docs/installation/debian_based_en.md @@ -50,6 +50,11 @@ First, install some dependencies needed to build Elixir and Erlang: sudo apt install curl unzip build-essential autoconf m4 libncurses5-dev libssh-dev unixodbc-dev xsltproc libxml2-utils libncurses-dev ``` +Second, make sure that erlang and elixir (via asdf) is reachable from `sudo -Hu akkoma`: +```shell +echo 'Defaults>akkoma secure_path="/var/lib/akkoma/.asdf/shims:/sbin:/bin:/usr/sbin:/usr/bin"' > /etc/sudoers.d/custom_path +``` + Then login to the `akkoma` user. Install asdf by following steps 1 to 3 on [their website](https://asdf-vm.com/guide/getting-started.html), then restart the shell to load asdf: