{"id":13451902,"url":"https://github.com/tabrindle/envinfo","last_synced_at":"2026-01-11T16:58:31.519Z","repository":{"id":41176338,"uuid":"94808954","full_name":"tabrindle/envinfo","owner":"tabrindle","description":"Generate a report about your development environment for debugging and issue reporting","archived":false,"fork":false,"pushed_at":"2024-10-16T10:52:18.000Z","size":1776,"stargazers_count":770,"open_issues_count":40,"forks_count":58,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-06T12:27:59.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/tabrindle.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-19T18:36:29.000Z","updated_at":"2025-03-03T12:07:08.000Z","dependencies_parsed_at":"2024-04-03T00:04:48.273Z","dependency_job_id":"a9c8214e-4d08-46cd-835c-5ae3f0afc1aa","html_url":"https://github.com/tabrindle/envinfo","commit_stats":{"total_commits":335,"total_committers":41,"mean_commits":8.170731707317072,"dds":0.426865671641791,"last_synced_commit":"2080e5800c5ec25f9fbc1428b5496435b96ae44d"},"previous_names":[],"tags_count":88,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabrindle%2Fenvinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabrindle%2Fenvinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabrindle%2Fenvinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tabrindle%2Fenvinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tabrindle","download_url":"https://codeload.github.com/tabrindle/envinfo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242250922,"owners_count":20096895,"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-07-31T07:01:06.390Z","updated_at":"2026-01-11T16:58:31.512Z","avatar_url":"https://github.com/tabrindle.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/tabrindle/envinfo/master/logo.png\" align=\"center\"  width=\"700px\"/\u003e\n  \u003ch3 align=\"center\"\u003eenvinfo generates a report of the common details needed when troubleshooting software issues, such as your operating system, binary versions, browsers, installed languages, and more\u003c/h3\u003e\n  \u003chr/\u003e\n\u003c/p\u003e\n\n[![npm version](https://badge.fury.io/js/envinfo.svg)](https://badge.fury.io/js/envinfo) [![npm downloads per month](https://img.shields.io/npm/dm/envinfo.svg?maxAge=86400)](https://www.npmjs.com/package/envinfo) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![All Contributors](https://img.shields.io/badge/all_contributors-12-orange.svg?style=flat-square)](#contributors)\n\n## The problem\n\n-   It works on my computer\n-   \"command not found\"\n-   what version of \"command\" are you running?\n-   what version of \"different command\" are you running?\n-   do you have \"insert obscure android sdk version\"?\n-   every github issue reporting template ever:\n\n**Please mention other relevant information such as the browser version, Node.js version, Operating System and programming language.**\n\n## This solution\n\n-   Gather all of this information in one spot, quickly, and painlessly.\n\n## Installation\n\nTo use as a CLI tool, install this package globally:\n\n```sh\nnpm install -g envinfo || yarn global add envinfo\n```\n\nOr, use without installing with npx:\n\n`npx envinfo`\n\nTo use as a library in another project:\n\n```sh\nnpm install envinfo || yarn add envinfo\n```\n\n## CLI Usage\n\n`envinfo` || `npx envinfo`\n\n```bash\n  System:\n    OS: macOS Mojave 10.14.5\n    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz\n    Memory: 2.97 GB / 16.00 GB\n    Shell: 5.3 - /bin/zsh\n  Binaries:\n    Node: 8.16.0 - ~/.nvm/versions/node/v8.16.0/bin/node\n    Yarn: 1.15.2 - ~/.yarn/bin/yarn\n    npm: 6.9.0 - ~/.nvm/versions/node/v8.16.0/bin/npm\n    pnpm: 8.7.6 - /usr/local/bin/pnpm\n    bun: 1.0.2 - /usr/local/bin/bun\n    Watchman: 4.9.0 - /usr/local/bin/watchman\n  Managers:\n    Cargo: 1.31.0 - ~/.cargo/bin/cargo\n    CocoaPods: 1.7.3 - /usr/local/bin/pod\n    Composer: 1.8.6 - /usr/local/bin/composer\n    Gradle: 5.5 - /usr/local/bin/gradle\n    Homebrew: 2.1.7 - /usr/local/bin/brew\n    Maven: 3.6.1 - /usr/local/bin/mvn\n    pip2: 19.0.3 - /usr/local/bin/pip2\n    pip3: 19.0.2 - /usr/local/bin/pip3\n    RubyGems: 2.5.2.3 - /usr/bin/gem\n  Utilities:\n    CMake: 3.13.3 - /usr/local/bin/cmake\n    Make: 3.81 - /usr/bin/make\n    GCC: 10.14. - /usr/bin/gcc\n    Git: 2.20.0 - /usr/local/bin/git\n    Mercurial: 4.5.3 - /usr/bin/hg\n    Clang: 1001.0.46.4 - /usr/bin/clang\n    Subversion: 1.10.3 - /usr/bin/svn\n  Servers:\n    Apache: 2.4.34 - /usr/sbin/apachectl\n    Nginx: 1.13.12 - /usr/local/bin/nginx\n  Virtualization:\n    Docker: 18.09.1 - /usr/local/bin/docker\n    Parallels: 13.3.0 - /usr/local/bin/prlctl\n    VirtualBox: 5.2.20 - /usr/local/bin/vboxmanage\n  SDKs:\n    iOS SDK:\n      Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2\n    Android SDK:\n      API Levels: 28\n      Build Tools: 28.0.3\n      System Images: android-28 | Google Play Intel x86 Atom\n  IDEs:\n    Android Studio: 3.2 AI-181.5540.7.32.5056338\n    Atom: 1.23.3\n    Emacs: 22.1.1 - /usr/bin/emacs\n    Nano: 2.0.6 - /usr/bin/nano\n    VSCode: 1.36.0 - /usr/local/bin/code\n    Vim: 8.0 - /usr/bin/vim\n    Xcode: 10.2.1/10E1001 - /usr/bin/xcodebuild\n  Languages:\n    Bash: 4.4.23 - /usr/local/bin/bash\n    Elixir: 1.6.2 - /usr/local/bin/elixir\n    Go: 1.11.1 - /usr/local/bin/go\n    Java: 1.8.0_192 - /usr/bin/javac\n    Perl: 5.18.4 - /usr/bin/perl\n    PHP: 7.1.23 - /usr/bin/php\n    Python: 2.7.16 - /usr/local/bin/python\n    Python3: 3.7.2 - /usr/local/bin/python3\n    R: 3.6.0 - /usr/local/bin/R\n    Ruby: 2.3.7 - /usr/bin/ruby\n    Rust: 1.16.0 - /Users/tabrindle/.cargo/bin/rustup\n  Databases:\n    MongoDB: 3.6.4 - /usr/local/bin/mongo\n    MySQL: 10.3.10 (MariaDB) - /usr/local/bin/mysql\n    PostgreSQL: 10.3 - /usr/local/bin/postgres\n    SQLite: 3.24.0 - /usr/bin/sqlite3\n  Browsers:\n    Chrome: 75.0.3770.100\n    Chrome Canary: 77.0.3847.0\n    Firefox: 68.0\n    Firefox Developer Edition: 69.0\n    Firefox Nightly: 69.0a1\n    Safari: 12.1.1\n    Safari Technology Preview: 13.0\n  npmPackages:\n    apollo-client: ^2.3.1 =\u003e 2.3.1\n    jest: ^22.2.1 =\u003e 22.2.1\n    ...\n    react: ^16.3.2 =\u003e 16.3.2\n    react-apollo: ^2.1.4 =\u003e 2.1.4\n    run4staged: ^1.1.1 =\u003e 1.1.1\n    solidarity: 2.0.5 =\u003e 2.0.5\n    styled-components: ^3.1.6 =\u003e 3.1.6\n  npmGlobalPackages:\n    create-react-app: 1.5.2\n    create-react-native-app: 1.0.0\n    envinfo: 5.10.0\n    exp: 49.2.2\n    gatsby-cli: 1.1.52\n    npm: 5.6.0\n    react-native-cli: 2.0.1\n    solidarity: 2.1.0\n    typescript: 2.8.1\n```\n\n## Programmatic Usage\n\nEnvinfo takes a configuration object and returns a Promise that resolves a string (optionally yaml, json or markdown)\n\n```javascript\nimport envinfo from 'envinfo';\n\nenvinfo.run(\n    {\n        System: ['OS', 'CPU'],\n        Binaries: ['Node', 'Yarn', 'npm'],\n        Browsers: ['Chrome', 'Firefox', 'Safari'],\n        npmPackages: ['styled-components', 'babel-plugin-styled-components'],\n    },\n    { json: true, showNotFound: true }\n).then(env =\u003e console.log(env));\n```\n\nlogs:\n\n```json\n{\n    \"System\": {\n        \"OS\": \"macOS High Sierra 10.13\",\n        \"CPU\": \"x64 Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz\"\n    },\n    \"Binaries\": {\n        \"Node\": {\n            \"version\": \"8.11.0\",\n            \"path\": \"~/.nvm/versions/node/v8.11.0/bin/node\"\n        },\n        \"Yarn\": {\n            \"version\": \"1.5.1\",\n            \"path\": \"~/.yarn/bin/yarn\"\n        },\n        \"npm\": {\n            \"version\": \"5.6.0\",\n            \"path\": \"~/.nvm/versions/node/v8.11.0/bin/npm\"\n        }\n    },\n    \"Browsers\": {\n        \"Chrome\": {\n            \"version\": \"67.0.3396.62\"\n        },\n        \"Firefox\": {\n            \"version\": \"59.0.2\"\n        },\n        \"Safari\": {\n            \"version\": \"11.0\"\n        }\n    },\n    \"npmPackages\": {\n        \"styled-components\": {\n            \"wanted\": \"^3.2.1\",\n            \"installed\": \"3.2.1\"\n        },\n        \"babel-plugin-styled-components\": \"Not Found\"\n    }\n}\n```\n\nAll of envinfo's helpers are also exported for use. You can use envinfo as a whole, or just the parts that you need, like this:\n\n```javascript\nconst envinfo = require('envinfo');\n\n// each helper returns a promise\nconst node = await envinfo.helpers.getNodeInfo();\n\n// The promises resolve to an array of values: [\"Name\", \"Version\", \"Path\"]\n// e.g. [\"Node\", \"10.9.0\", \"/usr/local/bin/node\"]\n\nconsole.log(`Node: ${node[1]} - ${node[2]}`); // \"Node: 10.9.0 - ~/.nvm/versions/node/v8.14.0/bin/node\"\n```\n\n## CLI Options\n\n```\n    --system               Print general system info such as OS, CPU, Memory and Shell\n    --browsers             Get version numbers of installed web browsers\n    --SDKs                 Get platforms, build tools and SDKs of iOS and Android\n    --IDEs                 Get version numbers of installed IDEs\n    --languages            Get version numbers of installed languages such as Java, Python, PHP, etc\n    --binaries             Get version numbers of node, npm, watchman, etc\n    --npmPackages          Get version numbers of locally installed npm packages - glob, string, or comma delimited list\n    --npmGlobalPackages    Get version numbers of globally installed npm packages\n\n    --duplicates           Mark duplicate npm packages inside parentheses eg. (2.1.4)\n    --fullTree             Traverse entire node_modules dependency tree, not just top level\n\n    --markdown             Print output in markdown format\n    --json                 Print output in JSON format\n    --console              Print to console (defaults to on for CLI usage, off for programmatic usage)\n```\n\n## Integration\n\nenvinfo is live in:\n\n-   [React Native](https://github.com/facebook/react-native) (`react-native info`)\n-   [Create React App](https://github.com/facebook/create-react-app) (`create-react-app --info`)\n-   [Expo Environment Info](https://github.com/expo/expo-cli/tree/main/packages/expo-env-info) (`npx expo-env-info`)\n-   [Webpack](https://github.com/webpack/webpack-cli) (`webpack-cli info`)\n-   [Solidarity](https://github.com/infinitered/solidarity) (`solidarity report`)\n-   [Gatsby](https://github.com/gatsbyjs/gatsby) (`gatsby info`)\n\nenvinfo is used in the ISSUE_TEMPLATE of:\n\n-   [styled-components](https://github.com/styled-components/styled-components)\n-   [Jest](https://github.com/facebook/jest)\n-   [Apollo Client](https://github.com/apollographql/apollo-client)\n-   [FakerJS](https://github.com/faker-js/faker)\n\n## Alternatives\n\n-   type `command -v` until you smash your computer\n-   [screenfetch](https://github.com/KittyKatt/screenFetch) - fetch system and terminal information, and display a pretty ascii logo\n-   [Solidarity](https://github.com/infinitered/solidarity) - a project based environment checker\n-   write your own\n\n## License\n\nMIT\n\n## Contributing\n\nPRs for additional features are welcome! Run `npm run lint \u0026\u0026 npm run format` before committing.\n\nThis project came out of a [PR](https://github.com/facebook/react-native/pull/14428) to the React Native CLI tool - issues are reported frequently without important environment information, like Node/npm versions.\n\n## Contributors\n\nThanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):\n\n\u003c!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --\u003e\n\u003c!-- prettier-ignore --\u003e\n| [\u003cimg src=\"https://avatars1.githubusercontent.com/u/2925048?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eTrevor Brindle\u003c/b\u003e\u003c/sub\u003e](http://trevorbrindle.com)\u003cbr /\u003e[💬](#question-tabrindle \"Answering Questions\") [📝](#blog-tabrindle \"Blogposts\") [🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Atabrindle \"Bug reports\") [💻](https://github.com/tabrindle/envinfo/commits?author=tabrindle \"Code\") [📖](https://github.com/tabrindle/envinfo/commits?author=tabrindle \"Documentation\") [💡](#example-tabrindle \"Examples\") [🤔](#ideas-tabrindle \"Ideas, Planning, \u0026 Feedback\") [👀](#review-tabrindle \"Reviewed Pull Requests\") [📢](#talk-tabrindle \"Talks\") [⚠️](https://github.com/tabrindle/envinfo/commits?author=tabrindle \"Tests\") | [\u003cimg src=\"https://avatars0.githubusercontent.com/u/997157?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eGant Laborde\u003c/b\u003e\u003c/sub\u003e](http://gantlaborde.com/)\u003cbr /\u003e[📝](#blog-GantMan \"Blogposts\") [🐛](https://github.com/tabrindle/envinfo/issues?q=author%3AGantMan \"Bug reports\") [💻](https://github.com/tabrindle/envinfo/commits?author=GantMan \"Code\") [🤔](#ideas-GantMan \"Ideas, Planning, \u0026 Feedback\") | [\u003cimg src=\"https://avatars1.githubusercontent.com/u/599352?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAnton Fisher\u003c/b\u003e\u003c/sub\u003e](http://antonfisher.com)\u003cbr /\u003e[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Aantonfisher \"Bug reports\") [💻](https://github.com/tabrindle/envinfo/commits?author=antonfisher \"Code\") | [\u003cimg src=\"https://avatars1.githubusercontent.com/u/960133?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eAhmad Awais ⚡️\u003c/b\u003e\u003c/sub\u003e](https://AhmadAwais.com/)\u003cbr /\u003e[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Aahmadawais \"Bug reports\") [💻](https://github.com/tabrindle/envinfo/commits?author=ahmadawais \"Code\") | [\u003cimg src=\"https://avatars2.githubusercontent.com/u/9251453?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eHasan\u003c/b\u003e\u003c/sub\u003e](https://github.com/LEQADA)\u003cbr /\u003e[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3ALEQADA \"Bug reports\") [💻](https://github.com/tabrindle/envinfo/commits?author=LEQADA \"Code\") | [\u003cimg src=\"https://avatars3.githubusercontent.com/u/1232725?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eErnesto Ramírez\u003c/b\u003e\u003c/sub\u003e](http://twitter.com/_ErnestoR)\u003cbr /\u003e[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3AErnestoR \"Bug reports\") [💻](https://github.com/tabrindle/envinfo/commits?author=ErnestoR \"Code\") | [\u003cimg src=\"https://avatars1.githubusercontent.com/u/3759816?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eJiawen Geng\u003c/b\u003e\u003c/sub\u003e](https://www.gengjiawen.com)\u003cbr /\u003e[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Agengjiawen \"Bug reports\") [💻](https://github.com/tabrindle/envinfo/commits?author=gengjiawen \"Code\") [🤔](#ideas-gengjiawen \"Ideas, Planning, \u0026 Feedback\") [⚠️](https://github.com/tabrindle/envinfo/commits?author=gengjiawen \"Tests\") |\n| :---: | :---: | :---: | :---: | :---: | :---: | :---: |\n| [\u003cimg src=\"https://avatars3.githubusercontent.com/u/12520493?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eZac Anger\u003c/b\u003e\u003c/sub\u003e](https://zacanger.com)\u003cbr /\u003e[💻](https://github.com/tabrindle/envinfo/commits?author=zacanger \"Code\") [🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Azacanger \"Bug reports\") | [\u003cimg src=\"https://avatars3.githubusercontent.com/u/497214?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eVille Immonen\u003c/b\u003e\u003c/sub\u003e](https://twitter.com/VilleImmonen)\u003cbr /\u003e[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Afson \"Bug reports\") [💻](https://github.com/tabrindle/envinfo/commits?author=fson \"Code\") | [\u003cimg src=\"https://avatars2.githubusercontent.com/u/27246?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eOlmo Maldonado\u003c/b\u003e\u003c/sub\u003e](http://ibolmo.com)\u003cbr /\u003e[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Aibolmo \"Bug reports\") [💻](https://github.com/tabrindle/envinfo/commits?author=ibolmo \"Code\") | [\u003cimg src=\"https://avatars.githubusercontent.com/u/15812317?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eRishabh Chawla\u003c/b\u003e\u003c/sub\u003e](https://rishabhchawla.co)\u003cbr /\u003e[🐛](https://github.com/tabrindle/envinfo/issues?q=author%3Arishabh3112 \"Bug reports\") [💻](https://github.com/tabrindle/envinfo/commits?author=rishabh3112 \"Code\") | [\u003cimg src=\"https://avatars.githubusercontent.com/u/174297?v=4\" width=\"100px;\"/\u003e\u003cbr /\u003e\u003csub\u003e\u003cb\u003eCarl Taylor\u003c/b\u003e\u003c/sub\u003e](https://github.com/Nthalk)\u003cbr /\u003e[💻](https://github.com/tabrindle/envinfo/commits?author=Nthalk \"Code\") |\n\u003c!-- ALL-CONTRIBUTORS-LIST:END --\u003e\n\nThis project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!\n","funding_links":[],"categories":["JavaScript","Npm","3. Engineering","Repository","others","Environment Helpers","Miscellaneous"],"sub_categories":["3.1. Cli Tools","Environment","A11y (accessibility)","Server-rendered React"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftabrindle%2Fenvinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftabrindle%2Fenvinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftabrindle%2Fenvinfo/lists"}