← Tutte le guide
Windows Terminal + PowerShell 7
Replace the legacy Windows console with the modern, tabbed Windows Terminal and upgrade from Windows PowerShell 5.1 to the actively-developed, cross-platform PowerShell 7.
Sistema: Windows 10 2004+ or Windows 11TerminalDevelopmentSito ufficiale ↗Documentazione ufficiale ↗
Questa guida è redatta a partire dalla documentazione ufficiale di Windows Terminal + PowerShell 7, linkata sopra — verifica sempre lì i nomi esatti di pacchetti/versioni prima di eseguire questi comandi su un server di produzione, poiché le versioni della distribuzione e del progetto cambiano nel tempo.
1Install Windows Terminal
winget install --id Microsoft.WindowsTerminal -eWindows 11 ships with it by default -- this step mainly applies to Windows 10.
2Install PowerShell 7
This installs alongside the built-in Windows PowerShell 5.1 rather than replacing it -- both remain available.
winget install --id Microsoft.PowerShell -e3Set PowerShell 7 as Windows Terminal's default profile
In Windows Terminal, open Settings (Ctrl+,), set "Default profile" to "PowerShell" (the pwsh.exe one, distinct from "Windows PowerShell"), and save.