-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
WG-Interactive-IntelliSensetab completiontab completion
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
Bug Report: PowerShell 7.5 “Command Not Found” Feature Is Broken Without Stable Dependencies
Summary
The “Command Not Found” feature introduced in PowerShell 7.5.2 is misleading and non-functional in most cases. It was promoted as stable, but silently depends on the still-experimental PSFeedbackProvider, which causes it to fail or produce vague suggestions.
Steps to Reproduce
- Launch PowerShell 7.5.2
- Type a known CLI tool name that is not installed (e.g.,
ffmpeg,yt-dlp,ripgrep) - Observe the error message and lack of actionable suggestions
- Run
Enable-ExperimentalFeature PSFeedbackProvider - Restart PowerShell and repeat step 2
Expected Behavior
PowerShell should suggest installing the missing CLI tool via winget or another package manager, as implied by the feature’s documentation.
Actual Behavior
- Most commands produce only the standard “not recognized” error.
jqproduces a vague suggestion (“J:”) with no actionable install prompt.- No install suggestions are provided for
ffmpeg,yt-dlp,ripgrep, or others. - The example using
powertoysis especially misleading—it suggests installing a GUI tool that doesn’t expose a CLI interface.
Environment Data
$PSVersionTable
### Expected behavior
```console
PS C:\Users\johnl> jq
jq: The term 'jq' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
[General Feedback]
The most similar commands are:
➤ J:Actual behavior
PowerShell 7.5.2
PS C:\Users\johnl> ffmpeg
ffmpeg: The term 'ffmpeg' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS C:\Users\johnl> yt-dip
yt-dip: The term 'yt-dip' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS C:\Users\johnl> ripgrep
ripgrep: The term 'ripgrep' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
PS C:\Users\johnl> powertoys
powertoys: The term 'powertoys' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.Error details
Environment data
$PSVersionTable
PS C:\Users\johnl> $PSVersionTable
Name Value
---- -----
PSVersion 7.5.2
PSEdition Core
GitCommitId 7.5.2
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Visuals
No response
Metadata
Metadata
Assignees
Labels
WG-Interactive-IntelliSensetab completiontab completion