Switching between Pipewire and Pulseaudio

For anyone on an older EndeavourOS setup before Atlantis was released, but is curious to upgrade to pipewire the installation will look like this:

[scott@endeavourOS ~]$ sudo pacman -S --needed pipewire-pulse pipewire-alsa pipewire-jack pipewire-media-session
warning: pipewire-media-session-1:0.4.1-1 is up to date -- skipping
resolving dependencies...
looking for conflicting packages...
:: pipewire-pulse and pulseaudio are in conflict. Remove pulseaudio? [y/N] y
:: pipewire-pulse and pulseaudio-bluetooth are in conflict. Remove pulseaudio-bluetooth? [y/N] y

Package (5)           Old Version  New Version  Net Change  Download Size

pulseaudio            15.0-1                     -5.81 MiB               
pulseaudio-bluetooth  15.0-1                     -0.25 MiB               
extra/pipewire-alsa                1:0.3.40-1     0.00 MiB       0.00 MiB
extra/pipewire-jack                1:0.3.40-1     0.47 MiB       0.10 MiB
extra/pipewire-pulse               1:0.3.40-1     0.43 MiB       0.14 MiB

Total Download Size:    0.25 MiB
Total Installed Size:   0.90 MiB
Net Upgrade Size:      -5.16 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 pipewire-alsa-1:...     4.6 KiB  13.3 KiB/s 00:00 [-----------------------] 100%
 pipewire-jack-1:...   105.9 KiB   127 KiB/s 00:01 [-----------------------] 100%
 pipewire-pulse-1...   146.4 KiB   121 KiB/s 00:01 [-----------------------] 100%
 Total (3/3)           256.9 KiB   202 KiB/s 00:01 [-----------------------] 100%
(3/3) checking keys in keyring                     [-----------------------] 100%
(3/3) checking package integrity                   [-----------------------] 100%
(3/3) loading package files                        [-----------------------] 100%
(3/3) checking for file conflicts                  [-----------------------] 100%
(5/5) checking available disk space                [-----------------------] 100%
:: Processing package changes...
(1/2) removing pulseaudio-bluetooth                [-----------------------] 100%
Removed /etc/systemd/user/sockets.target.wants/pulseaudio.socket.
(2/2) removing pulseaudio                          [-----------------------] 100%
(1/3) installing pipewire-pulse                    [-----------------------] 100%
Created symlink /etc/systemd/user/sockets.target.wants/pipewire-pulse.socket → /usr/lib/systemd/user/pipewire-pulse.socket.
(2/3) installing pipewire-alsa                     [-----------------------] 100%
(3/3) installing pipewire-jack                     [-----------------------] 100%
:: Running post-transaction hooks...
(1/3) Reloading device manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Compiling GSettings XML schema files...
[scott@endeavourOS ~]$ 

Edit: pulseaudio-alsa is required by gnome-settings-daemon so if you use Gnome, make sure you don’t accidentally remove that package.