I like a mix. One of the first pixel RPGs I ever played as a kid was Aveyond, and to this day I like that it had a combination of learning skills on level-up, learning from scrolls you find or buy, casting directly from consumable scrolls, choosing skills from literal classes at an academy with limited "schedule slots" to fill, and skills granted by equipped items (i.e. special magic swords, or different orbs attached to a staff). And if I recall, there were also a few guilds from which you could choose for the sorcerer character to join, that I believe also each taught a unique spell.
I'm trying to emulate that variety in my game, with both skills and crafting recipes. I want there to be a plethora of ways for players to acquire them, to suit their playstyle. If they don't like grinding for scrolls or recipes as loot drops, they can buy them. If they don't like grinding for money (in any of the also various ways I'll provide to do that), everything's still potentially available though equipment unlocks or story progression, or other sorts of immersive gameplay such as the filling out "schedule slots" if you're at a school, or perhaps receiving training from NPCs you've done favors for, etc.
I'm trying to emulate that variety in my game, with both skills and crafting recipes. I want there to be a plethora of ways for players to acquire them, to suit their playstyle. If they don't like grinding for scrolls or recipes as loot drops, they can buy them. If they don't like grinding for money (in any of the also various ways I'll provide to do that), everything's still potentially available though equipment unlocks or story progression, or other sorts of immersive gameplay such as the filling out "schedule slots" if you're at a school, or perhaps receiving training from NPCs you've done favors for, etc.