How do I summon a villager with a certain profession?

//ads -- adsterra.com -- native banner
?>
In Minecraft Java Edition, you can specify the profession of a villager you summon using the VillagerData
NBT tag. For example, the below command spawns a librarian villager:
/summon villager X Y Z {VillagerData:{Profession:"minecraft:librarian"}}
Since NBT does not exist in Bedrock Edition, the above commands will not work there.
How do I summon a villager with a certain profession in Minecraft Bedrock Edition?
Pictures about "How do I summon a villager with a certain profession?"



Quick Answer about "How do I summon a villager with a certain profession?"
How do you spawn villagers with specific professions?
To get farmers, do /summon villager ~ ~ ~ {Profession:0,Career:1} . To get fishermen, do /summon villager ~ ~ ~ {Profession:0,Career:2} . To get shepherds, do /summon villager ~ ~ ~ {Profession:0,Career:3} . To get fletchers, do /summon villager ~ ~ ~ {Profession:0,Career:4} .Can you summon villager with specific trades?
This Villager Trade Generator creates the Minecraft Java Edition (PC/Mac) 1.19 command you can use to summon a villager with a profession, name and as many custom trades as you want.How to Change a Villager's Profession in MInecraft
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Anete Lusina, Nivedita Singh, Pavel Danilyuk, alleksana