# I can't get a client repl to run on windows 10/64 pro

**URL:** https://clojureverse.org/t/i-cant-get-a-client-repl-to-run-on-windows-10-64-pro/4861
**Category:** Boot
**Created:** [September 19, 2019, 2:56am UTC](https://clojureverse.org/t/i-cant-get-a-client-repl-to-run-on-windows-10-64-pro/4861 "2019-09-19T02:56:48Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![tyohDeveloper](https://clojureverse.org/user_avatar/clojureverse.org/tyohdeveloper/32/2175_2.png) [@tyohDeveloper](https://clojureverse.org/u/tyohDeveloper)
#### Post date: [September 19, 2019, 2:56am UTC](https://clojureverse.org/t/i-cant-get-a-client-repl-to-run-on-windows-10-64-pro/4861/1 "2019-09-19T02:56:48Z")

</div>

No matter how I launch a repl, I can never get a prompt.

```bash
boot repl
boot repl --client
lein repl
lein repl :start

```

They all refuse to take input. The `--client` thing seems promising, but never gives me a prompt. I just sits there like a lump.

I’ve uninstalled everything, including all java jres and jdks, boot, lein, clojure, clojure-clj, chocolatey. Then reinstalled them all (from admin powershells).

Here’s what boot gives me:

```auto
PS C:\Users\zipper\documents\GitHub\name> boot repl --client
REPL-y 0.4.3, nREPL 0.6.0
Clojure 1.7.0
Java HotSpot(TM) 64-Bit Server VM 1.8.0_221-b11
        Exit: Control+D or (exit) or (quit)
    Commands: (user/help)
        Docs: (doc function-name-here)
              (find-doc "part-of-name-here")
Find by Name: (find-name "part-of-name-here")
      Source: (source function-name-here)
     Javadoc: (javadoc java-object-or-class-here)
    Examples from clojuredocs.org: [clojuredocs or cdoc]
              (user/clojuredocs name-here)
              (user/clojuredocs "ns-here" "name-here")

```

Then, it just sits there like a lump.

Can anyone offer me a clue?

---

<div class="post-metadata">

### Author: ![teodorlu](https://clojureverse.org/user_avatar/clojureverse.org/teodorlu/32/2896_2.png) [@teodorlu](https://clojureverse.org/u/teodorlu)
#### Post date: [September 19, 2019, 10:46am UTC](https://clojureverse.org/t/i-cant-get-a-client-repl-to-run-on-windows-10-64-pro/4861/2 "2019-09-19T10:46:15Z")

</div>

That sounds a bit like a bug that’s bitten me before.

Do you have a `user.clj`-file?

> <https://github.com/technomancy/leiningen/issues/2490>

---

<div class="post-metadata">

### Author: ![tyohDeveloper](https://clojureverse.org/user_avatar/clojureverse.org/tyohdeveloper/32/2175_2.png) [@tyohDeveloper](https://clojureverse.org/u/tyohDeveloper)
#### Post date: [September 19, 2019, 3:05pm UTC](https://clojureverse.org/t/i-cant-get-a-client-repl-to-run-on-windows-10-64-pro/4861/3 "2019-09-19T15:05:43Z")

</div>

I’m not finding one. If it’s hiding, where would I find it?

---

<div class="post-metadata">

### Author: ![teodorlu](https://clojureverse.org/user_avatar/clojureverse.org/teodorlu/32/2896_2.png) [@teodorlu](https://clojureverse.org/u/teodorlu)
#### Post date: [September 19, 2019, 3:23pm UTC](https://clojureverse.org/t/i-cant-get-a-client-repl-to-run-on-windows-10-64-pro/4861/4 "2019-09-19T15:23:22Z")

</div>

You would normally create it yourself, for example in src/user.clj.

Also, Clojure 1.7 is way old. Perhaps try getting 1.10.1 to load.

---

<div class="post-metadata">

### Author: ![tyohDeveloper](https://clojureverse.org/user_avatar/clojureverse.org/tyohdeveloper/32/2175_2.png) [@tyohDeveloper](https://clojureverse.org/u/tyohDeveloper)
#### Post date: [September 19, 2019, 3:56pm UTC](https://clojureverse.org/t/i-cant-get-a-client-repl-to-run-on-windows-10-64-pro/4861/5 "2019-09-19T15:56:55Z")

</div>

I haven’t created one. I also went looking for a trixy one that might have infiltrated over the weekend. I can say there were no hostile borders.

You point of the version sounds like an excellent place to look. I had thought I only had 1.10. I thought I had deleted everything and reinstalled it all. If there is a 1.7 out there, it arrived in stealth. I think I start a global search for clo\*.jar files. Thanks for the help!

---

<div class="post-metadata">

### Author: ![seancorfield](https://clojureverse.org/user_avatar/clojureverse.org/seancorfield/32/195_2.png) [@seancorfield](https://clojureverse.org/u/seancorfield)
#### Post date: [September 19, 2019, 4:42pm UTC](https://clojureverse.org/t/i-cant-get-a-client-repl-to-run-on-windows-10-64-pro/4861/6 "2019-09-19T16:42:08Z")

</div>

It might be worth trying the latest command line tools from Cognitect. See [https://github.com/clojure/tools.deps.alpha/wiki/clj-on-Windows](https://github.com/clojure/tools.deps.alpha/wiki/clj-on-Windows) – in particular, see the bit about Scoop at the bottom. It requires Powershell (rather than regular `cmd`) but that’s a nicer shell for development anyway.

Install Scoop on Powershell:

```
iwr -useb get.scoop.sh | iex

```

Add the Java bucket (makes it easy to install and test various JDK versions):

```
scoop bucket add java

```

Add the (unofficial) Clojure bucket:

```
scoop bucket add scoop-clojure https://github.com/littleli/scoop-clojure

```

(this is just a wrapper around the official Powershell installer)

Install `clojure`/`clj`:

```
scoop install clojure

```

I use Cognitect’s REBL so I have Zulu OpenJDKs installed with their JavaFX bundle, so either of these will work:

```
scoop install java/zulufx8

scoop install java/zulufx11

```

Those are for their OpenJDK 8 and OpenJDK 11 respectively.

Then you can start a basic REPL with:

```
clj

```

More information about the Clojure CLI and `deps.edn` files: [https://clojure.org/guides/deps\_and\_cli](https://clojure.org/guides/deps_and_cli)

My dot-clojure repo has a great user-level `deps.edn` file to get you started with a lot of useful aliases (including starting REBL, once you’ve installed it).

---

<div class="post-metadata">

### Author: ![tyohDeveloper](https://clojureverse.org/user_avatar/clojureverse.org/tyohdeveloper/32/2175_2.png) [@tyohDeveloper](https://clojureverse.org/u/tyohDeveloper)
#### Post date: [September 19, 2019, 7:06pm UTC](https://clojureverse.org/t/i-cant-get-a-client-repl-to-run-on-windows-10-64-pro/4861/7 "2019-09-19T19:06:47Z")

</div>

Thank you very much.

I’m making closing comments here in case someone else has the problem.

Problem: I couldn’t get a Clojure client repl to run on windows.  
Cause: ~/.m2/repositories/clojure-complete existed.

Solution: – Wait on this. I need to clean up stuff again.

- Dump chocolatey in favor of scoop.
- Uninstall everything in choco -list --local-only

- Use powershell
- Remove-Module ClojureTools -Force -Verbose -Debug -Confirm

- Hunt/destroy \Program Files (x86)\google…\clojure stuff

- iwr -useb get.scoop.sh | iex
- Scoop update
- Scoop install maven
- Scoop bucket add scoop-clojure [https://github.com/littleli/scoop-clojure](https://github.com/littleli/scoop-clojure)
- Scoop install clojure
- Scoop bucket add extras
- Scoop install boot-clj
- Scoop install leiningen
- Scoop install maven
- boot repl  
;; You might need to kill the shell, log out, and log back in  
;; In the Windows Explorer (not the browser, the Windows file explorer).  
;;;; Delete USERPROFILE.m2\clojure-complete  
;; Sign off and sign back into Windows.

Somewhere along the line a “clojure-complete” got installed. It was the windows equivalent of “~/.m2/repositories” that’s c:\users\myaccount.m2

I deleted that directory by hand. After deleting the directory clj, boot repl, lein repl all worked as expected.

---

<div class="post-metadata">

### Author: ![system](https://clojureverse.org/uploads/default/original/2X/5/51079bf9e4b7d9466242c06cf1e43b9f8bd6da14.png) [@system](https://clojureverse.org/u/system)
#### Post date: [March 20, 2020, 7:21am UTC](https://clojureverse.org/t/i-cant-get-a-client-repl-to-run-on-windows-10-64-pro/4861/8 "2020-03-20T07:21:44Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
