# Installing Eclipse features via the command line with the p2 director

I finally found the time to try out Paul Websters tip for installing Eclipse features from the command line and updating eclipse.ini. While I don’t have the out-of-memory problem I also download frequently Eclipse releases and need to install components into it.

Pauls tip makes it easy, here is an example which will add EGit, Mylyn and EMF to your Eclipse instance.

``````eclipse/eclipse \\ -application org.eclipse.equinox.p2.director \\ -noSplash \\ -repository \\ http://download.eclipse.org/releases/juno \\ -installIUs \\ org.eclipse.egit.feature.group,\\ org.eclipse.jgit.feature.group,\\ org.eclipse.emf.sdk.feature.group,\\ org.eclipse.mylyn\_feature.feature.group \
``````

Just make sure the initial path is correct and once this is done, restart your Eclipse. I must say that is a cool feature of p2, which makes me like p2 much more. The manual installation process was really annoying.

I hope this helps. Thanks again to Paul!

Does anyone know if I can also de-install components with the director?

Updated: