This content originally appeared on DEV Community and was authored by Jean Dias
Today we go to install ASDF on Mageia 9. The next steps will go install the plugins to PHP and Node.js.
- To install ASDF on version 0.14.1, I used the version for Git + ZSH:
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.1
echo '. "$HOME/.asdf/asdf.sh"' >> ~/.zshrc
echo 'fpath=(${ASDF_DIR}/completions $fpath)' >> ~/.zshrc
echo 'autoload -Uz compinit && compinit' >> ~/.zshrc
- Add Node.js Plugin
sudo dnf install gnupg2 curl gawk
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
- Add PHP plugin
sudo dnf install autoconf bison re2c libxml2-devel sqlite3-devel libgd-devel gcc-c++ lib64oniguruma-devel libpqxx-devel readline-devel libzip-devel
asdf plugin-add php https://github.com/asdf-community/asdf-php.git
Done, ASDF with PHP and Node.js installed.
This content originally appeared on DEV Community and was authored by Jean Dias
Jean Dias | Sciencx (2024-09-10T23:07:48+00:00) Install ASDF on Mageia 9. Retrieved from https://www.scien.cx/2024/09/10/install-asdf-on-mageia-9/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.