Upgrade to Eleventy v3.1.2

Ed H AHSAA Blog
Ed's Blog Index & Contents

Feb 6, 2026 6:00

Eleventy v3.1.2 released 8 months ago on Jun 24, 2025

Eleventy v3.1.2 release notes They fixed 15 items

So ... I upgraded to Eleventy v3.1.2 (MacOS)

First, how to upgrade npm (MacOS)

  1. I haven't updated for awhile.

How to upgrade to latest version of Eleventy (MacOS)

  1. Open Terminal on Macbook Pro

  2. since I am use syncthing to syncronize the Sites directory between my Macbook Pro and my iMac, only need to upgrade Macbook Pro and the versions were syncronized between the Macbook Pro and the iMac. The iMac files are upgraded automagically as long as syncthing is running on both and the correct folders are syncronized. This is because my 11ty install is local to the development directories and located in my Sites/11ty_name_of_project area.

  3. cd into the working directory Sites/11ty_name_of_project (Yours will be different. I have eleventy installed locally in my working directory not globally)

  4. ran the following terminal commands. The first command tells you what version you are running and if there any updates available. The 2nd command updates eleventy.

    npx @11ty/eleventy --version
    sudo npm update @11ty/eleventy
    this worked!! easy peasey !!
    npx @11ty/eleventy --version
    v 3.1.2
  5. To get eleventy first CD to where your code lives, maybe something like this

    CD /Sites/11ty
  6. then this command runs eleventy in quiet mode

    npx @11ty/eleventy --serve --quiet