Power Shell - How To Update
choco upgrade powershell-core Using Homebrew (recommended):
# Update package list and upgrade PowerShell sudo apt update sudo apt upgrade powershell If not installed via repository, download the latest .deb from GitHub and run: how to update power shell
winget upgrade --id Microsoft.PowerShell how to update power shell