shanghaishanghai

近日,微软发布了PowerToys 0.77版本,引入了一款名为“Command Not Found”的新型实用工具。Clint Rutkas,微软开发者体验部门的负责人,预告了这一新特性。Command Not Found是一款PowerShell模块,能在用户输入错误命令后,自动进行检测和分析。

这款新工具旨在帮助用户在命令提示符中解决缺少的组件或输入错误。当错误发生时,Command Not Found会分析错误,并建议安装可能的WinGet软件包。例如,当用户因未安装Visual Studio Code而尝试执行命令时,PowerShell会建议通过winget安装。

要使用Command Not Found,用户需要PowerShell 7.4版本,因此默认情况下是关闭的。这款功能是全新的实用工具,旨在提示用户采取哪些措施来解决命令提示符中的问题。

广告声明:本文包含的外部链接(包括但不限于超链接、二维码、口令等),用于提供更多信息,节省甄选时间,结果仅供参考。所有文章均包含本声明。

News content:

Microsoft recently released PowerToys 0.77 version, introducing a new utility called “Command Not Found”. Clint Rutkas, the head of Microsoft’s Developer Experience department, announced this new feature. “Command Not Found” is a PowerShell module that automatically detects and analyzes errors when users enter incorrect commands.

This new tool aims to help users solve missing components or input errors in the command prompt. When an error occurs, “Command Not Found” analyzes the error and suggests installing possible WinGet packages. For example, when a user tries to execute a command without installing Visual Studio Code, PowerShell suggests installing it through winget.

To use “Command Not Found”, users need PowerShell 7.4 version, so it is turned off by default. This feature is a new practical tool designed to prompt users to take measures to solve problems in the command prompt.

Advertising disclaimer: This article contains external links (including but not limited to hyperlinks, QR codes, passwords, etc.), which are used to provide more information, save selection time, and the results are for reference only. All articles contain this statement.

【来源】https://www.ithome.com/0/743/667.htm

Views: 1

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注