Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
#!/usr/bin/bash

apt update
apt update -y
echo "--> Ruby"
apt install -y ruby-full

echo "--> PHP"
apt install -y software-properties-common ca-certificates lsb-release apt-transport-https
add-apt-repository ppa:ondrej/php
add-apt-repository -y ppa:ondrej/php
apt update -y
apt install -y php-{pear,cgi,common,curl,mbstring,gd,bcmath,json,xml,fpm,intl,zip} php8.0


echo "--> JavaScript"
apt install curl
apt install -y curl
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
# Check if the lines containing NVM_DIR already exist in .bashrc
if ! grep -q 'NVM_DIR' ~/.bashrc; then
echo "# --- NVM ---" >> ~/.bashrc
grep 'NVM_DIR' ~/.zshrc >> ~/.bashrc
fi
PS1=1 source ~/.bashrc
apt install npm
apt install -y npm
nvm install 20.17.0
node -e "console.log('Running Node.js ' + process.version)"
npm i -g npm
Expand Down
Loading