Skip to navigation Skip to main content
๐Ÿ‡บ๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡ฆ Stand with Ukraine ๐Ÿ‡บ๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡ฆ๐Ÿ‡บ๐Ÿ‡ฆ
Eleventy
Eleventy Documentation
Stable
2.0.1
Canary
3.0.0-alpha.10
Toggle Menu
Eleventy 5.81s
Astro 12.52s

Install Eleventy Globally

WARNING:
It is not recommended to install Eleventy globally (though it does work fine).

It is preferred to use package.json installation instead. package.json installation will avoid versioning issues if you come back to this project later or decide to use Eleventy on multiple projects that may need different versions.

WARNING:
If youโ€™re planning on deploying your site using a service like Netlify (running a build a deployment server), you must use package.json installation and not global installation.
npm install -g @11ty/eleventy

The above adds an eleventy command that you can use in any directory. When you run Eleventy globally, it might look like this:

eleventy --version
2.0.1