-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbash_profile.j2
More file actions
12 lines (11 loc) · 897 Bytes
/
bash_profile.j2
File metadata and controls
12 lines (11 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
# PHP version switcher commands
alias php81="sudo dnf module switch-to php:remi-8.1 -y"
alias php82="sudo dnf module switch-to php:remi-8.2 -y"
alias php83="sudo dnf module switch-to php:remi-8.3 -y"
alias php84="sudo dnf module switch-to php:remi-8.4 -y"
alias php85="sudo dnf module switch-to php:remi-8.5 -y"
# Node.js version switcher commands
alias node18="sudo dnf remove nodejs -y && curl -fsSL https://rpm.nodesource.com/setup_18.x | sudo bash - && sudo dnf install nodejs -y"
alias node20="sudo dnf remove nodejs -y && curl -fsSL https://rpm.nodesource.com/setup_20.x | sudo bash - && sudo dnf install nodejs -y"
alias node22="sudo dnf remove nodejs -y && curl -fsSL https://rpm.nodesource.com/setup_22.x | sudo bash - && sudo dnf install nodejs -y"
alias node24="sudo dnf remove nodejs -y && curl -fsSL https://rpm.nodesource.com/setup_24.x | sudo bash - && sudo dnf install nodejs -y"