Skip to content

Commit 48efc1c

Browse files
committed
AlmaLinux9: FAQ - inform developers about the existence of aliases.
Signed-off-by: alexmerlin <[email protected]>
1 parent 00b01b1 commit 48efc1c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

wsl/os/almalinux9/FAQ.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,50 @@
44

55
### Switch to PHP 8.3
66

7+
Use alias `php83` or execute:
8+
79
sudo dnf module switch-to php:remi-8.3 -y
810

911
### Switch to PHP 8.2
1012

13+
Use alias `php82` or execute:
14+
1115
sudo dnf module switch-to php:remi-8.2 -y
1216

1317
### Switch to PHP 8.1
1418

19+
Use alias `php81` or execute:
20+
1521
sudo dnf module switch-to php:remi-8.1 -y
1622

1723
### Switch to PHP 7.4
1824

25+
Use alias `php74` or execute:
26+
1927
sudo dnf module switch-to php:remi-7.4 -y
2028

2129
## How do I switch to a different version of Node.js?
2230

2331
### Switch to Node.js 22.x
2432

33+
Use alias `node22` or execute:
34+
2535
sudo dnf remove nodejs -y
2636
curl -fsSL https://rpm.nodesource.com/setup_22.x | sudo bash -
2737
sudo dnf install nodejs -y
2838

2939
### Switch to Node.js 20.x
3040

41+
Use alias `node20` or execute:
42+
3143
sudo dnf remove nodejs -y
3244
curl -fsSL https://rpm.nodesource.com/setup_20.x | sudo bash -
3345
sudo dnf install nodejs -y
3446

3547
### Switch to Node.js 18.x
3648

49+
Use alias `node18` or execute:
50+
3751
sudo dnf remove nodejs -y
3852
curl -fsSL https://rpm.nodesource.com/setup_18.x | sudo bash -
3953
sudo dnf install nodejs -y

0 commit comments

Comments
 (0)