Back to Blog
Download mongodb shell for windows6/29/2023 ![]() So, in order for the command to be available in all folder directory or path, just add it in the environment variable of the Microsoft Windows operating system. But the command is available only in the binary folder of the MongoDB folder installation. Just by typing the ‘mongo’ command, the command will direct it to the MongoDB shell. The above image is displaying the actual process for executing the MongoDB shell. In this article, you will get to know about Windows MongoDB Shell. Mongosh works typically like mongo so a user doesn’t have to learn new syntax. MongoDB shell or mongosh is a superset of mongo providing improved syntax highlighting, command history, and improved logging. In order to access the MongoDB shell, just type ‘mongo’ as follows : MongoDB provides shell interactions via tools like mongo and mongosh. The reason is because the command prompt is running with the Administrator account privilege. The above Windows Command Prompt appear in the ‘C:\Windows\system32’ as the current working directory.So, the command prompt will appear as follows : Just click it, or right click at the Command Prompt and then select the Run as administrator.Type ‘command’ in that field above as follows :.How to Access MongoDB Shell in Microsoft Windows Start by executing it through the field ‘Type here to search’ as in the image as follow : So, in order to access the MongoDB shell, just access the Windows Command Prompt Console. The following are the steps to access the MongoDB shell :ġ.
0 Comments
Read More
Leave a Reply. |