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)
- I haven't updated for awhile.
How to upgrade to latest version of Eleventy (MacOS)
-
Open Terminal on Macbook Pro
-
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.
-
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)
-
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
-
To get eleventy first CD to where your code lives, maybe something like this
CD /Sites/11ty
-
then this command runs eleventy in quiet mode
npx @11ty/eleventy --serve --quiet