Course of Raku / Advanced / Modules

Distributing modules 🆕

Once a module is useful beyond your own computer, you can package it as a distribution and share it through Raku’s module ecosystem, so that anyone can install it with zef.

This section describes the two pieces that make that possible: the META6.json file that describes a distribution, and the tools — zef and fez — that install and publish it. These steps involve the ecosystem and the network rather than the language itself, so the examples here describe files and commands rather than producing program output.

Topics in this section

Practice

Complete the quiz that covers the contents of this section.

Exercises

This section contains 2 exercises. Examine all the topics of this section before doing the coding practice.

  1. A META6 file
  2. The module layout

Course navigation

Solution: A nested name   |   The META6 file