Shell

Write and execute MongoDB shell scripts within Rolens

Rolens has a shell feature: it provides an editor for writing shell scripts and executing them against a local or external host, database, or even a single collection. You can find it under the Shell tab.

Note: this feature is currently in development and will be shipped with version 0.3.0. You can follow the development on GitHub.

The shell tab

Requirements

To use the script editor, you need to install the official mongosh tool from MongoDB. You can download it from the MongoDB web site, or run brew install mongosh if you use a Mac.

This Rolens documentation page is a work-in-progress! You could help writing it by sending a PR — thanks!