In the process of learning MongoDB, I found that the mongoimport file is missing in the bin folder of MongoDB.
Reason:
mongoimport mongoexport mongodump mongorestore and other tools provide a separate download entry as mongodb database tools
https://www.mongodb.com/try/download/database-tools?tck=docs_databasetools
1. Click download
2. Unzip the downloaded file to the mongodb directory.
My path is C:\Program Files\MongoDB\Server\4.4\mongodb-database-tools-windows-x86_64-100.1.1\bin
3. Configure the system environment
Click this computer in turn-Properties-Advanced System Settings-Environment Variables-Find Path in System Variables Double-click-New-Copy the path in-Confirm all the way
4. Restart powerShell
5. Success