{"id":13706349,"url":"https://github.com/PowerShell/command-not-found","last_synced_at":"2025-05-05T20:30:53.196Z","repository":{"id":147210105,"uuid":"614546270","full_name":"PowerShell/command-not-found","owner":"PowerShell","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-26T21:51:00.000Z","size":91,"stargazers_count":10,"open_issues_count":4,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-29T17:18:21.025Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PowerShell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-15T20:07:41.000Z","updated_at":"2024-09-23T13:32:51.000Z","dependencies_parsed_at":"2024-01-14T20:17:31.302Z","dependency_job_id":"8a6508df-44a1-4c87-aa56-42f1fef59bf7","html_url":"https://github.com/PowerShell/command-not-found","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2Fcommand-not-found","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2Fcommand-not-found/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2Fcommand-not-found/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PowerShell%2Fcommand-not-found/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PowerShell","download_url":"https://codeload.github.com/PowerShell/command-not-found/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224182213,"owners_count":17269433,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T22:00:54.400Z","updated_at":"2024-11-13T14:30:51.395Z","avatar_url":"https://github.com/PowerShell.png","language":"C#","readme":"# command-not-found\n\nThe `command-not-found` module is a feedback provider plugin for PowerShell.\nThis feedback provider depends on the `command-not-found` utility,\nwhich is often available on Linux by default,\nto provide suggestions when a native command cannot be found.\n\n`bash` also calls the `command-not-found` utility to provide suggestions when a command cannot be found.\nBut this feedback provider plugin does more than that,\nthanks to the [command-line predictor][command-line-predictor] feature in PowerShell.\nIt also implements the `ICommandPredictor` interface and serves as a predictor.\nWhen the resulted feedback contains actionable items, such as commands to run,\nthey will be used as predictive suggestions to streamline the user's command-line experience.\n\n\u003c/br\u003e\n\n![FeedbackProvider](./tools/images/FeedbackProvider.gif)\n\n## Requirements\n\nThe `command-not-found` plugin is built on the `IFeedbackProvider` interface,\nwhich is available with PowerShell `7.4.0-preview.2` or above.\nTo display prediction suggestions from the `command-not-found`,\nyou need [PSReadLine 2.2.6][psreadline-226] or above.\n\n- PowerShell `7.4.0-preview.2` or above\n- PSReadLine `2.2.6` or above\n\n## Documentation\n\nPowerShell feedback providers and predictors are written in C# and registered with the PowerShell [Subsystem Plugin Model][subsystem-plugin-model].\nTo learn more, see \"How to create a feedback provider\" and [\"How to create a command-line predictor\"][how-to-create-predictor].\n\n## Build\n\nMake sure the [latest .NET 8 SDK](https://dotnet.microsoft.com/download/dotnet/8.0) is installed\nand available in your `PATH` environment variable.\nRun `.\\build.ps1` from `pwsh` to build the project.\nThe module will be published to `.\\bin\\command-not-found` by a successful build.\n\n## Code of Conduct\n\nPlease see our [Code of Conduct](.github/CODE_OF_CONDUCT.md) before participating in this project.\n\n## Security Policy\n\nFor any security issues, please see our [Security Policy](.github/SECURITY.md).\n\n[command-line-predictor]: https://learn.microsoft.com/en-us/powershell/scripting/learn/shell/using-predictors?view=powershell-7.3\n[psreadline-226]: https://www.powershellgallery.com/packages/PSReadLine/2.2.6\n[subsystem-plugin-model]: https://docs.microsoft.com/powershell/scripting/learn/experimental-features#pssubsystempluginmodel\n[how-to-create-predictor]: https://docs.microsoft.com/powershell/scripting/dev-cross-plat/create-cmdline-predictor\n","funding_links":[],"categories":["C# #"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPowerShell%2Fcommand-not-found","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPowerShell%2Fcommand-not-found","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPowerShell%2Fcommand-not-found/lists"}