简体   繁体   English

如何检查 Leiningen 是否已成功安装并满负荷工作?

[英]how can I check if Leiningen is successfully installed and working at full capacity?

Java JDK is installed, everything works great, also maven works great.安装了 Java JDK,一切正常,maven 也很好用。

I followed the instructions from the site, downloaded the bat file, set the path and at the command prompt started the installation with the command lein self-install.我按照网站上的说明,下载了 bat 文件,设置了路径,然后在命令提示符下使用命令 lein self-install 开始安装。

what i got in response is downloading leiningen now ....我得到的回应是现在下载 leiningen ....

after a while, C: \ windows \ system32> appeared below that line and it stays that way for several hours.过了一会儿,C:\windows\system32> 出现在该行下方,并保持这种状态几个小时。

What more should I do?我还应该做什么?

The command line normally uses a prompt like > or similar to indicate it is waiting for a command.命令行通常使用类似>或类似的提示符来表示它正在等待命令。 Then you type something followed by the <return> key:然后键入一些内容,然后按<return>键:

> lein --version
Leiningen 2.9.8 on Java 1.8.0_322 OpenJDK 64-Bit Server VM
>

Here I typed lein --version , then <ret> , and the computer responded with a 1-liner about the version of Leiningen and Java that are installed.在这里,我输入lein --version ,然后输入了<ret> ,计算机以 1-liner 响应了关于已安装的 Leiningen 和 Java 的版本。 Then it displayed the prompt again, waiting for the next command.然后它再次显示提示,等待下一个命令。

You can use the cd (change directory) command to move around.您可以使用cd (更改目录)命令来移动。 With no prompt it will send you back to your "home" directory.在没有提示的情况下,它会将您送回您的“主”目录。 See docs for the BASH or ZSH shell.请参阅 BASH 或 ZSH shell 的文档。

For Windows, I highly recommend installing the BASH Shell and git from this site:对于 Windows,我强烈建议从这个站点安装 BASH Shell 和git

https://gitforwindows.org/ https://gitforwindows.org/

IMHO the bash shell is greatly superior to the built-in Windows shell from CMD.EXE恕我直言, bash shell 大大优于CMD.EXE的内置 Windows shell

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM