Now that I have found my extension directory, is installing an experimental (or developmental) extension as simple as cloning it into there? eg:

# find extension directory
DIR=$(cv ev --out=pretty 'return (new CRM_Extension_System())->getDefaultContainer()->baseDir')
# change to extension directory
cd $DIR
# clone repo
git clone [email protected]:civicrm/api4.git
# flush cache
cv flush
# enable 
cv ext:enable api4

(obviously some git remote voodoo required still but just wanting to confirm that this is the basics)

  • That all looks correct to me. Is it not working?
    – Coleman
    Commented Jan 23, 2017 at 3:23
  • 1
    yes it's working - but I couldn't find process documented anywhere so wanted to confirm before adding to the dev guide! Commented Jan 23, 2017 at 3:59
  • Installing an extension manually is mentioned here: wiki.civicrm.org/confluence/display/CRMDOC/…
    – tabletguy
    Commented Feb 10, 2017 at 8:41

1 Answer 1


Yes, that's all you need to do! In my experience, flushing the cache is unnecessary though.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.