我安装了MongoDB atlas插件,如下链接https://www.mongodb.com/docs/atlas/cli/stable/install-atlas-cli/
我还将bin添加到环境变量中,包括path
,IntelliJ
。
当我在PowerShell中输入atlas
时,一切都很好。
然而,当我在IntelliJ中使用终端时,我不能运行atlas
命令。它抛出一个错误。
atlas : The term 'atlas' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
At line:1 char:1
+ atlas
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (atlas:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
字符串
我尝试在IntelliJ中将atlas的bin文件夹的路径添加到库中,但仍然不起作用。
我该怎么办?
1条答案
按热度按时间jdzmm42g1#
通过菜单**文件在IDEA中设置用户环境变量是否有帮助|设置|工具|终点站?
的数据