Answers.Body: <p>Yes, that's all you need to do!  In my experience, flushing the cache is unnecessary though.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-01-23T06:00:40.557Z
Answers.LastActivityDate: 2017-01-23T06:00:40.557Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>Now that I have <a href="https://civicrm.stackexchange.com/questions/16788/where-is-my-extension-directory">found my extension directory</a>, is installing an experimental (or developmental) extension as simple as cloning it into there? eg:</p>
  
  <pre><code># find extension directory
  DIR=$(cv ev --out=pretty 'return (new CRM_Extension_System())-&gt;getDefaultContainer()-&gt;baseDir')
  # change to extension directory
  cd $DIR
  # clone repo
  git clone git@github.com:civicrm/api4.git
  # flush cache
  cv flush
  # enable 
  cv ext:enable api4
  </code></pre>
  
  <p>(obviously some <code>git remote</code> voodoo required still but just wanting to confirm that this is the basics)</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-23T03:23:11.837Z
Comments.Text: That all looks correct to me. Is it not working?
Comments.UserDisplayName: Coleman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-23T03:59:50.617Z
Comments.Text: yes it's working - but I couldn't find process documented anywhere so wanted to confirm before adding to the dev guide!
Comments.UserDisplayName: ErichBSchulz
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-02-10T08:41:19.740Z
Comments.Text: Installing an extension manually is mentioned here: https://wiki.civicrm.org/confluence/display/CRMDOC/Extensions#Extensions-Installinganewextension
Comments.UserDisplayName: tabletguy
Tags: <extension><developer>
Title: How do I install an extension directly from git?
ThreadText: # How do I install an extension directly from git?
  
  (Asked by: username_0 on 2017-01-22)
  
  Now that I have [found my extension directory](https://civicrm.stackexchange.com/questions/16788/where-is-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 git@github.com: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)
  
  **Tags:** extension, developer
  
  > **Comments:**
  > **username_1**: That all looks correct to me. Is it not working?  
  > **username_0**: yes it's working - but I couldn't find process documented anywhere so wanted to confirm before adding to the dev guide!  
  > **username_2**: Installing an extension manually is mentioned here: https://wiki.civicrm.org/confluence/display/CRMDOC/Extensions#Extensions-Installinganewextension  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2017-01-23. Score: 1
  
  Yes, that's all you need to do! In my experience, flushing the cache is unnecessary though.
  
  
  ---
  
  