Skip to content

mongosh

MongoDB Shell to connect, configure, query, and work with your MongoDB database

Package Information

  • Domain: mongodb.com/shell
  • Name: mongosh
  • Homepage: Not specified
  • Source: View on GitHub

Installation

bash
# Install with launchpad
launchpad install mongosh

Programs

This package provides the following executable programs:

  • mongosh

Available Versions

Show all 37 versions
  • 2.5.6, 2.5.5, 2.5.3, 2.5.2, 2.5.1
  • 2.5.0, 2.4.2, 2.4.0, 2.3.9, 2.3.8
  • 2.3.7, 2.3.6, 2.3.5, 2.3.4, 2.3.3
  • 2.3.2, 2.3.1, 2.3.0, 2.2.15, 2.2.12
  • 2.2.11, 2.2.10, 2.2.9, 2.2.6, 2.2.5
  • 2.2.4, 2.2.3, 2.2.2, 2.2.1, 2.2.0
  • 2.1.5, 2.1.4, 2.1.3, 2.1.1, 2.1.0
  • 2.0.2, 2.0.1

Latest Version: 2.5.6

Install Specific Version

bash
# Install specific version
sh <(curl https://pkgx.sh) mongosh -- $SHELL -i

Dependencies

This package depends on:

  • nodejs.org

Usage Examples

typescript
import { pantry } from 'ts-pkgx'

// Access this package
const pkg = pantry.mongosh

console.log(`Package: ${pkg.name}`)
console.log(`Description: ${pkg.description}`)
console.log(`Programs: ${pkg.programs.join(', ')}`)

This documentation was auto-generated from package data.

Released under the MIT License.