Skip to content
This repository was archived by the owner on Jul 11, 2022. It is now read-only.

craftcms/nitro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8ab92b3 · Jul 11, 2022
Mar 29, 2021
May 19, 2022
Apr 18, 2021
Dec 28, 2020
Feb 4, 2021
May 19, 2022
May 19, 2022
Feb 2, 2021
Mar 29, 2021
Mar 2, 2021
May 19, 2022
Mar 23, 2021
May 19, 2022
Feb 15, 2022
May 4, 2020
May 19, 2022
Jul 11, 2022
May 19, 2022
May 19, 2022
Apr 20, 2021

Repository files navigation

Craft Nitro icon

Craft Nitro

Nitro is a speedy local development environment that’s tuned for Craft CMS, powered by Docker.

Warning Nitro has been retired. Read more in our blog post, Retiring Craft Nitro.


Building from Source

If you’d like to build Nitro directly from source to test a PR or unreleased feature, you’ll need go and make in order to build a CLI binary for your OS.

If you’re on macOS running Homebrew and the Apple developer tools that come with Xcode, it should be quick and straightforward:

  1. Run brew install golang.
  2. Check out this repository and cd /path/to/your/checkout.
  3. Run make local.

Nitro’s dependencies will be downloaded automatically, and the built binary will be moved to /usr/local/bin/nitro.

Make sure that’s exactly what you see when you run which nitro:

$ which nitro
/usr/local/bin/nitro

If you installed Nitro with Homebrew, you might need to run brew unlink nitro so that the system uses the freshly-built binary instead. (To go back to using the Homebrew Nitro binary, use brew link --overwrite nitro.)