Intalling Mongosh issue

I’m getting this error but I’m not sure what to do

Are you referring to access control warning message or .mongoshrc.js warning?

Looks like you have installed mongosh
If your query is about .mongoshrc warning try to rename the file as suggested
It is a hidden file under your home dir

I’m afraid to admit that I don’t know how to do that. I tried to figure out how to rename it as it suggests but I just don’t know how to do it.

What is your os?

If it is Unix/Linux

cd to your_home_dir
cp .mongorc.js mongorc.js.bak
mv .mongorc.js .mongoshrc.js

If Windows go to that dir rt click on the file and rename
Take a backup before rename

I couldn’t get that to work. I tried downloading the SHELL(ZIP) but my computer doesn’t trust it and won’t allow me to open it after it was installed.


Looks your OS is Windows.Did you try to rename as per below screenshot?
Why do you want to install again when mongosh is already installed on your system