How to set nREPL with Clojure CLI (tools.deps) & figwheel-main

I want to use an nREPL server to connect from Emacs Cider with Clojure CLI (tools.deps, not Leiningen) & figwheel-main. How do I set up my deps.edn or else?

I know there're nice examples for setups with Leingen&figwheel-main and tools.deps&figwheel-sidecar.



This article ( seems to for what I want to do, but I don't find how to set environment up in real.