Comment on page
Setting up your developer environment
git clone https://github.com/garden-io/garden.git
For Mac we have a script that installs all required dependencies.
Other platforms need to roll their own for now (contributions welcome!). Please have a look at the script for OSX to see what's installed.
Install Node modules for the root package, and
yarn install # To install root dependencies
yarn run bootstrap # To bootstrap packages
from the root directory
Before running Garden for the first time, you need to do an initial build by running
from the root directory.
To develop the CLI, run the
devcommand in your console:
This will link it to your global
node_modulesfolder, and then watch for changes and auto-rebuild as you code. You can then run the
gardencommand as normal.
Also, you might like to add a couple of shorthands: