Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚用 gvm 安装了 groovy
gvm install groovy
然后重新启动终端我在此之前使用 gvm 安装了 grails,当我发出命令时我得到了 grails 版本
gvm current
现在我无法从终端运行 groovy 或 groovyconsole。我错过了什么?
您尚未设置current(应在安装时询问)。检查安装的版本 ( gvm ls groovy)。已安装的版本已*设置。电流标有>。手动设置电流:
current
gvm ls groovy
*
>
gvm d groovy <version>