{"id":22355548,"url":"https://github.com/zbo14/commands-not-found","last_synced_at":"2026-04-24T20:33:20.372Z","repository":{"id":57204081,"uuid":"436101690","full_name":"zbo14/commands-not-found","owner":"zbo14","description":"🔎 CLI that shows install instructions for commands across several Linux distros.","archived":false,"fork":false,"pushed_at":"2022-01-05T19:36:42.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-06-09T13:19:06.181Z","etag":null,"topics":["axios","cheerio","cli","command-not-found","linux","unix"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/commands-not-found","language":"JavaScript","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/zbo14.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-08T03:18:40.000Z","updated_at":"2022-01-06T17:50:35.000Z","dependencies_parsed_at":"2022-09-17T19:03:46.922Z","dependency_job_id":null,"html_url":"https://github.com/zbo14/commands-not-found","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zbo14/commands-not-found","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbo14%2Fcommands-not-found","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbo14%2Fcommands-not-found/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbo14%2Fcommands-not-found/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbo14%2Fcommands-not-found/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zbo14","download_url":"https://codeload.github.com/zbo14/commands-not-found/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zbo14%2Fcommands-not-found/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261392180,"owners_count":23151718,"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":["axios","cheerio","cli","command-not-found","linux","unix"],"created_at":"2024-12-04T14:07:10.772Z","updated_at":"2026-04-24T20:33:15.353Z","avatar_url":"https://github.com/zbo14.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# commands-not-found\n\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)\n\nA CLI that shows install instructions for unrecognized commands across several Linux distributions.\n\nResults are pulled from [command-not-found](https://command-not-found.com). In addition, `commands-not-found` supports querying multiple commands concurrently (see examples).\n\n## Install\n\n`npm i commands-not-found`\n\n## Usage\n\n**Tip:** create a shell alias (e.g. `cnf`) for `commands-not-found` to save keystrokes.\n\n**Show install instructions for command on your distro:**\n\n`commands-not-found dig`\n\nstdout: \"apt-get install knot-dnsutils\" (on Ubuntu)\n\n**Show install instructions for command on specific distro:**\n\n`commands-not-found -d arch dig` or `commands-not-found --distro arch dig`\n\nstdout: \"pacman -S bind-tools\"\n\n*Supported distros:*\n\n* alpine\n* arch\n* debian\n* fedora\n* kali\n* raspbian\n* ubuntu\n\n**Show install instructions for multiple commands:**\n\n`commands-not-found -d arch dig ncat nmap`\n\nstdout: \"pacman -S bind-tools nmap\" (`ncat` is part of `nmap`)\n\n**Show install instructions for commands in a file:**\n\n*commands.txt:*\n\n```\ndig\nncat\nnmap\nsocat\nunbound\n```\n\n`commands-not-found -d arch @commands.txt`\n\nstdout: \"pacman -S bind-tools nmap socat unbound\"\n\n**Exit with error if command not found:**\n\n`commands-not-found -e zzz dig ncat nmap`\n\nstdout: \"\"\nstderr: \"Command not found: zzz\"\n\nWithout the `-e` flag, `commands-not-found` logs the error and install instructions for other commands:\n\nstdout: \"pacman -S bind-tools nmap\"\nstderr: \"Command not found: zzz\"\n\n## Test\n\n`npm test`\n\n**Note:** the test suite makes actual requests to [command-not-found](https://command-not-found.com).\n\n## Lint\n\n`npm run lint` or `npm run lint:fix`\n\n## License\n\nLicensed under [MIT](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzbo14%2Fcommands-not-found","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzbo14%2Fcommands-not-found","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzbo14%2Fcommands-not-found/lists"}