--- notion-id: a8115064-bf4d-4aba-b4b4-55cc5d7f1f01 --- > [!note]+ **Windows Terminal/Powershell 设置自动补全, 智能提示** > [https://blog.csdn.net/weixin_42081389/article/details/124392018](https://blog.csdn.net/weixin_42081389/article/details/124392018) 注意PS版本为共存模式,可以修改环境变量,修改!删除旧版本具体方法研究中 可使用windows10manager或者ContextMenuManager修改开始菜单 [https://github.com/BluePointLilac/ContextMenuManager](https://github.com/BluePointLilac/ContextMenuManager) 查看PS版本 `$PSVersionTable.PSVersion` 安装PS7 ```shell iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI" ``` [https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.3](https://learn.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.3) 注意要点: 安装Powershell7需要[重新配置美化教程Oh-my-zsh](/9500f8f266a345f692e1ec02195d0510)【直接跳转到**配置主题**查看】 注意:如果输入`notepad $PROFILE` 没有创建选项,找不到路径 手动创建,如果安装VSCODE,`code. $PROFILE` 直接使用VSCODE创建 `C:\Users\SL\Documents\PowerShell\Microsoft.PowerShell_profile.ps1` PowerShell7路径 `C:\Users\SL\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1` PowerShell原版路径 使用winget安装时如果出现错误使用指令强制更新`winget source reset --force`