Installed MongoDB using the following guide: Install MongoDB
However, the installation in the guide is for MongoDB 5.0
on WSL with Ubuntu 20.04 (focal)
distro.
The following is an adaptation of the guide for installing MongoDB 6.0
on WSL with Ubuntu 22.04 jammy
distro.
- Open your WSL terminal (ie. Ubuntu) and go to your home directory::
cd ~
- Update your Ubuntu packages:
sudo apt update