- Getting Started
- Installation Guide
Installation
The recommended way to get started using the driver in your project is with a dependency management system.
MongoDB Scala Driver
The MongoDB Scala Driver
Scala 2.12
You can also download the jars
directly
from sonatype.
Note:
libraryDependencies += "org.mongodb.scala" %% "mongo-scala-driver" % "2.3.0"
mongo-scala-driver
requires the following dependencies:
mongo-scala-bson
,
bson
,
mongodb-driver-core
,
and
mongodb-driver-async
.
Scala 2.11
You can also download the jars
directly
from sonatype.
Note:
libraryDependencies += "org.mongodb.scala" %% "mongo-scala-driver" % "2.3.0"
mongo-scala-driver
requires the following dependencies:
mongo-scala-bson
,
bson
,
mongodb-driver-core
,
and
mongodb-driver-async
.