Fabric mods go in .minecraft/libraries/me/deftware/EMC-F-v2/latest-(mc version)
Forge mods go in the mods folder while using Aristois for Forge (must have been specifically installed to Forge)
For modpacks and modpack launchers you can also find instructions here: https://aristois.wiki/modpacks/