Other project management options

Although nearly everyone uses Leiningen or Deps, Cursive also supports other options such as Maven and just using IntelliJ's project management (for example, if you're using Gradle or something similar).

Create a new project using Maven

  • File→New→Project...
  • Select Maven Module.
  • Enter project name and location, and module name.
  • Choose an SDK or create a new one if you don't have one set up, then press Next.
  • Choose the GroupId and ArtifactId, and archetype if required.
  • Press Finish, and select whether you want your new project in a new window.
  • Ctrl+Alt+Shift+S (File→Project Structure...), then select Modules.
  • Select your new module, click + and select Clojure.
  • Click Ok, and start coding!

Maven's other workflows are very similar to Cursive's Leiningen integration.

Create a new blank project

  • File→New→Project...
  • Select Java Module.
  • Enter project name and location, and module name.
  • Choose an SDK or create a new one if you don't have one set up, then press Next.
  • Select Clojure from the desired technologies list, and choose how to get Clojure.
  • Press Finish, and select whether you want your new project in a new window.
  • Start coding!

Working with Deps The REPL