Thanks again Kirill, top! Typing `$ mongo` in the terminal confirmed you're right of course: it starts the interactive section with mongo db. Before asking here I typed `$ mongosh` which is the command that works locally, but it does not on the server. I guess it depends on the mongo version, locally I have version 7.0.2, on the server version 4.4.2.
Anyway, I need to improve my reading skills, it was all there in the mongo docs! Thanks also Odhiambo, very useful information. On Mon, Apr 22, 2024, at 5:54 PM, Kirill A. Korinsky wrote: > On Mon, 22 Apr 2024 17:40:22 +0200, > Luca Leone wrote: > > > > I successfully installed the mongodb-4.4.2 package on the server which run > > openBSD 7.4. It's the db of a node js app. > > Locally on my Mac, I interact with the local mongo db through the mongo > > shell. I'd like to do the same on the server with the installed mongo db > > BUT there's no "mongo shell" package and I could not find any doc > > explaining how to install the mongo shell on openBSD. Is there a way? Or is > > there an alternative way to interact directly with the db? > > > > Base on doc [1] you're looking for binary with name mongo which is part of > port mongodb version 44 [2]. So, I assume that if you install mongodb, > you'll have that you're looking for. > > Footnotes: > [1] https://www.mongodb.com/docs/v4.4/mongo/ > > [2] > https://github.com/openbsd/ports/blob/master/databases/mongodb/44/pkg/PLIST > > -- > wbr, Kirill > >