npx

  • a package runner tool that comes with npm (Node Package Manager)
    1. Execute npm package binaries without installing them globally
    2. Run one-off commands using packages not installed locally
    3. Execute packages from GitHub repositories directly
  • It lets you run CLI tools without permanently installing them.
  • Regarding the caching - npm/npx does cache packages in your local npm cache (usually in ~/.npm) to avoid downloading them repeatedly. But this wouldn't explain why command parameters are being persisted.