mongoimport błąd w konsoli

0

Chce użyć polecenia:

mongoimport --db List --collection cos--file cos.json --jsonArray

a wyskakuje mi taki błąd

mongoimport : The term 'mongoimport' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
 the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ mongoimport --db List --collection cos--file cos.json --json ...
+ ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (mongoimport:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

wersja mongodb to 4.4
dodałem katalog bin do zmienne srodowiskowej PATH

0

@dcielak: Jak dla mnie to masz błąd w poleceniu:

mongoimport --db List --collection cos--file cos.json --jsonArray

Brak spacji przed --file.

1 użytkowników online, w tym zalogowanych: 0, gości: 1