{"id":17760560,"url":"https://github.com/fuco1/find-local-executable","last_synced_at":"2025-09-04T06:37:11.510Z","repository":{"id":150147565,"uuid":"216212220","full_name":"Fuco1/find-local-executable","owner":"Fuco1","description":"Find locally installed executables by npm, composer, gem, pip, stack, ...","archived":false,"fork":false,"pushed_at":"2022-05-23T10:17:42.000Z","size":12,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T07:46:27.894Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fuco1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-10-19T13:39:07.000Z","updated_at":"2023-03-25T07:21:13.000Z","dependencies_parsed_at":"2023-04-09T11:21:43.631Z","dependency_job_id":null,"html_url":"https://github.com/Fuco1/find-local-executable","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Ffind-local-executable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Ffind-local-executable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Ffind-local-executable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fuco1%2Ffind-local-executable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fuco1","download_url":"https://codeload.github.com/Fuco1/find-local-executable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246644095,"owners_count":20810687,"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-10-26T19:05:07.479Z","updated_at":"2025-04-01T13:15:37.086Z","avatar_url":"https://github.com/Fuco1.png","language":"Emacs Lisp","readme":"# find-local-executable\n\nFind executables installed locally by npm, yarn, composer, stack, pip, gem...\n\n## Motivation\n\nWhen we use packages like flycheck, company, lsp we often install the\ntools locally in a specific version using a package manager.  These\npackages often only look for a globally installed executable which\nmight not be what we want.\n\n## Usage\n\nThis package provides a uniform interface for setting up paths to\nexecutables installed locally (meaning not system-wide).\n\nTo find the `flow` binary installed by `npm` or `yarn`, use\n\n``` emacs-lisp\n(find-local-executable-nodejs \"flow\")\n```\n\nYou can substitute `\"flow\"` with any binray you want.\n\nThe general pattern is:\n\n``` emacs-lisp\n(defun find-local-executable-PLATFORM (binary \u0026optional use-global-fallback))\n```\n\nOn top of that, we support many popular packages out of the box.  For\nexample, to set up paths for packages relying on `\"flow\"` in nodejs,\nuse:\n\n``` emacs-lisp\n(find-local-executable-nodejs-setup-flow)\n```\n\nThis will configure paths for (among others)\n\n``` emacs-lisp\ncompany-flow-executable\nflow-minor-default-binary\nflycheck-javascript-flow-coverage-executable\nflycheck-javascript-flow-executable\nlsp-clients-flow-server\n```\n\nThe general pattern is\n\n``` emacs-lisp\n(defun find-local-executable-PLATFORM-setup-BINARY ())\n```\n\nFollowing is an exhaustive list  of supported platforms.  If you don't\nsee your favorite platform, please open an issue or even better submit\na pull request!\n\n## Supported platforms\n\n### nodejs [via npm, yarn]\n\nBinary:\n\n``` emacs-lisp\n(find-local-executable-nodejs BINARY)\n```\n\nSupported binaries:\n\n``` emacs-lisp\n(find-local-executable-nodejs-setup-flow)\n(find-local-executable-nodejs-setup-eslint)\n```\n\n### typescript [via npm, yarn]\n\nBinary:\n\n``` emacs-lisp\n(find-local-executable-typescript BINARY)\n```\n\nSupported binaries:\n\n``` emacs-lisp\n(find-local-executable-typescript-setup-tslint)\n(find-local-executable-typescript-setup-prettier)\n```\n\n### php [via composer]\n\nBinary:\n\n``` emacs-lisp\n(find-local-executable-php BINARY)\n```\n\nSupported binaries:\n\n``` emacs-lisp\n(find-local-executable-php-setup-phpstan)\n(find-local-executable-php-setup-phpcs)\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuco1%2Ffind-local-executable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuco1%2Ffind-local-executable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuco1%2Ffind-local-executable/lists"}