brew install mongorestore code example Example: macos brew mongorestore $ brew unlink mongodb-community-shell