Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more > - Use an Editor for Commands
- Learn to use external or built-in editors in
mongosh
for multiline command
editing, including setting up and using editors like vi
, nano
, or Visual Studio. - Configure Settings
- Configure
mongosh
settings to customize shell behaviors, including logging, telemetry,
and history management, using the config API or a global configuration file. - Customize the
mongosh
Prompt - Customize the
mongosh
prompt to display dynamic session information, such as line
numbers, database and hostname, or system uptime and document count. - Configure Telemetry Options
- Configure telemetry options in
mongosh
to manage anonymous usage
data collection, with options to enable or disable it at any time.