You can enchant a pickaxe that you are holding by using the /enchant command. For example, you can use the /enchant command to enchant the pickaxe that the player called DigMinecraft is holding with Fortune III. In this example, fortune is the name of the enchantment and 3 is the level of the enchantment to add.