Install Gnuplot with winget (Windows Package Manager)

Windows 10 and 11 include winget, Microsoft’s command-line package manager, and gnuplot is published in its repository under the package ID gnuplot.gnuplot. One command installs it: winget install -e --id gnuplot.gnuplot. No browser download and no installer wizard.

Step-by-Step

  1. Open Windows Terminal or PowerShell. winget is preinstalled on current Windows 11 and recent Windows 10 builds.
  2. (Optional) Confirm the package first:
    winget search gnuplot

    The results list gnuplot with the ID gnuplot.gnuplot from the winget source. Confirming the ID before installing protects you from similarly named packages.

  3. Install with an exact ID match:
    winget install -e --id gnuplot.gnuplot

    The -e flag requires an exact match, so there is no ambiguity about which package you get. winget downloads the gnuplot installer from the package’s registered source and runs it silently.

  4. Open a new terminal tab so the updated PATH is loaded.
  5. Verify:
    gnuplot --version

Updating and Removing

winget upgrade gnuplot.gnuplot
winget uninstall gnuplot.gnuplot

Note that the winget repository sometimes trails the newest SourceForge release by a short while. If you need exactly 6.0.5 today, use the installer route in our Windows install guide — all packages are listed on the download page.

Common Pitfalls

  • “winget is not recognized”: your Windows build predates winget or the App Installer package is missing. Install or update App Installer from the Microsoft Store, then retry.
  • Multiple matches or unexpected publisher: always install by exact ID (-e --id gnuplot.gnuplot) instead of a bare name, and cross-check with winget show gnuplot.gnuplot before confirming.

Something not working? Run through the verification checklist to separate a PATH problem from an install problem.

Back up your plot scripts and data

Your .gp scripts and data files are small but hard to recreate. Keeping a synced backup means a reinstall never costs you your work. pCloud offers cloud storage with a one-time lifetime option and syncs a scripts folder across machines automatically. Affiliate link — see our Affiliate Disclosure.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *