Title: Command not found should suggest how to install like in bash · Issue #1982 · PowerShell/PowerShell · GitHub
Open Graph Title: Command not found should suggest how to install like in bash · Issue #1982 · PowerShell/PowerShell
X Title: Command not found should suggest how to install like in bash · Issue #1982 · PowerShell/PowerShell
Description: Steps to reproduce Run a command that's not installed on your Linux machine, e.g. dtrace. Expected behavior jasonsh@jasonsh-ubd02:~$ dtrace The program 'dtrace' is currently not installed. You can install it by typing: sudo apt-get insta...
Open Graph Description: Steps to reproduce Run a command that's not installed on your Linux machine, e.g. dtrace. Expected behavior jasonsh@jasonsh-ubd02:~$ dtrace The program 'dtrace' is currently not installed. You can ...
X Description: Steps to reproduce Run a command that's not installed on your Linux machine, e.g. dtrace. Expected behavior jasonsh@jasonsh-ubd02:~$ dtrace The program 'dtrace' is currently not install...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/1982
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Command not found should suggest how to install like in bash","articleBody":"\u003c!--\n\nIf it is a bug report:\n- make sure you are able to repro it on the latest released version. \nYou can install the latest version from https://github.com/PowerShell/PowerShell/releases\n- Search the existing issues.\n- Refer to the [FAQ](../docs/FAQ.md).\n- Refer to the [known issues](../docs/KNOWNISSUES.md).\n- Fill out the following repro template\n\nIf it's not a bug, please remove the template and elaborate the issue in your own words.\n-->\n## Steps to reproduce\n\nRun a command that's not installed on your Linux machine, e.g. `dtrace`.\n## Expected behavior\n\n```\njasonsh@jasonsh-ubd02:~$ dtrace\nThe program 'dtrace' is currently not installed. You can install it by typing:\nsudo apt-get install systemtap-sdt-dev\n```\n## Actual behavior\n\n```\nPS> dtrace \ndtrace : The term 'dtrace' is not recognized as the name of a cmdlet, function, script file, or operable program. Check \nthe spelling of the name, or if a path was included, verify that the path is correct and try again.\nAt line:1 char:1\n+ dtrace\n+ ~~~~~~\n```\n## Environment data\n\n\u003c!-- provide the output of $PSVersionTable -->\n\n``` powershell\nPS /home/jasonsh> $PSVersionTable \n\nName Value \n---- ----- \nPSVersion 6.0.0-alpha \nPSEdition Core \nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} \nBuildVersion 3.0.0.0 \nGitCommitId v6.0.0-alpha.9 \nCLRVersion \nWSManStackVersion 3.0 \nPSRemotingProtocolVersion 2.3 \nSerializationVersion 1.1.0.1 \n\n\nPS /home/jasonsh> uname -v \n#49~14.04.1-Ubuntu SMP Wed Jun 29 20:22:11 UTC 2016\n\n```\n","author":{"url":"https://github.com/lzybkr","@type":"Person","name":"lzybkr"},"datePublished":"2016-08-20T19:02:32Z","url":"https://github.com/PowerShell/PowerShell/issues/1982"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e8e88085-d3ba-2b1a-fd2a-18604946da48 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82D2:C35DD:27A491D:37304FE:6AFD4C24 |
| html-safe-nonce | 5813d5b11d44cc1cfa9fcf2a0962d7a9e9f2619f5a34c4167fdad05a44d618c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkQyOkMzNUREOjI3QTQ5MUQ6MzczMDRGRTo2QUZENEMyNCIsInZpc2l0b3JfaWQiOiI0NDAyMTc0NzU4MTU0NDg4ODY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0232d2c9e21b6353f816f6674fc546cf1587aaedc10cf603646946b52ef098c3 |
| hovercard-subject-tag | issue:172285543 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/1982/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dc83dc54617a3ac5a1c18b67afcdc08b967cad1897a8fcacb80849ec9c12a66b/PowerShell/PowerShell/issues/1982 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dc83dc54617a3ac5a1c18b67afcdc08b967cad1897a8fcacb80849ec9c12a66b/PowerShell/PowerShell/issues/1982 |
| og:image:alt | Steps to reproduce Run a command that's not installed on your Linux machine, e.g. dtrace. Expected behavior jasonsh@jasonsh-ubd02:~$ dtrace The program 'dtrace' is currently not installed. You can ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lzybkr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width