This guide is written for use with Visual Studio Code. If you're not using VSCode, you can manually install this addon by selecting it in Edit > Settings > Addons > Install
Install Blender 2.93.2
Download the latest glTF Blender addon and copy the addons/io_scene_gltf2 folder into the scripts/addons/ directory of the Blender installation, then enable it under the Add-ons tab.
Install Python 3.9
Install pipenv
Run pipenv install
Install the Python extension in Visual Studio Code
Select the virtual environment by pressing CMD/CTRL + Shift + P and selecting Python: Select Interpreter
Install the Blender Development extension in Visual Studio Code
Now press CMD/CTRL + Shift + P and select Blender: Build and Start