Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

fix-path

Fix $PATH environment variable for GUI apps on macOS and Linux.

Dev workflow and configNPM

GitHubWebsite

1. License

License from npm.

github.com/sindresorhus/fix-path

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What fix-path does

Fix $PATH environment variable for GUI apps on macOS and Linux.

fix-path popularity

31 / 100
Gid Score, #3992 overall
162K
downloads a week, npm
298
GitHub stars
1
agent projects use it
fix-path: downloads per weeknpm, fix-path 161,717
fix-path: GitHub starssindresorhus/fix-path 298

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How fix-path is used

  • fix-path joined the catalog on its public numbers (161,717 downloads a week on npm and 298 GitHub stars), not on our project count: it is a dependency in 5 public GitHub projects of our scan, 1 of them set up for AI coding agents.
  • The most used alternative in our scan is cross-env (208 projects).
  • Projects that use it most often also use Electron (80.0%), electron-builder (80.0%), React (100.0%).

Often used with

In 80.0% of its projects
In 80.0% of its projects
In 100.0% of its projects
In 80.0% of its projects
In 60.0% of its projects
In 60.0% of its projects
In 60.0% of its projects

More about fix-path

Funding
  • GitHub Sponsors: https://github.com/sindresorhus
  • Open Collective: https://opencollective.com/sindresorhus
  • Buy Me a Coffee: https://buymeacoffee.com/sindresorhus
  • Own page: https://sindresorhus.com/donate
  • 186 GitHub sponsors

See all

More in Dev workflow and config

Alternatives

fix-path This page

MITGid 31162K/wk

cross-env

Set environment variables across Windows, Mac and Linux in npm scripts.

MITGid 7436.9M/wk

Compare fix-path with another tool

Get started

Install it.

npm install fix-path

No step-by-step start for fix-path yet: we have not written its hand-checked card.