Prev |  | Next

## 10.3. Installation

Neo4j can be installed as a server, running either as a headless application or system service. For Java developers, it is also possible to use Neo4j as a library, embedded in your application.

For information on installing Neo4j as a server, see Section 17.1, “Server Installation”.

The following table outlines the available editions and their names for use with dependency management tools.

| Tip
Follow the links in the table for details on dependency configuration with Apache Maven, Apache Buildr, Apache Ivy and Groovy Grape!

Neo4j editions

Edition | Dependency | Description | License
--- | --- | --- | ---
Community | org.neo4j:neo4j | a high performance, fully ACID transactional graph database | GPLv3
Advanced | org.neo4j:neo4j-advanced | adding advanced monitoring | AGPLv3
Enterprise | org.neo4j:neo4j-enterprise | adding online backup and High Availability clustering | AGPLv3

| Note
The listed dependencies do not contain the implementation, but pulls it in transitively.

For more information regarding licensing, see the Licensing Guide.

### 10.3.1. Embedded Installation

The latest release is always available from http://neo4j.org/download, included as part of the Neo4j download packages. After selecting the appropriate version for your platform, embed Neo4j in your Java application by including the Neo4j library jars in your build. Either take the jar files from the lib/ directory of the download, or directly use the artifacts available from Maven Central Repository [1]. Stable and milestone releases are available there.

For information on how to use Neo4j as a dependency with Maven and other dependency management tools, see the following table:

| Note
The listed dependencies do not contain the implementation, but pulls it in transitively.

Maven dependency.

    <project>
    ...
     <dependencies>
      <dependency>
       <groupId>org.neo4j</groupId>
       <artifactId>neo4j</artifactId>
       <version>${neo4j-version}</version>
      </dependency>
      ...
     </dependencies>
    ...
    </project>

Where `${neo4j-version}` is the intended version and the `artifactId` is one of `neo4j`, `neo4j-advanced`, `neo4j-enterprise`.

### 10.3.2. Server Installation

#### OS X

Via homebrew, you can simply do

    brew update
    brew install neo4j
    neo4j start

[1] http://repo1.maven.org/maven2/org/neo4j/

Copyright © 2011 Neo Technology

Prev | Up | Next
| Home |