Hyperplane arrangements in CoCoA. We introduce the package arrangements for the software CoCoA. This package provides a data structure and the necessary methods for working with hyperplane arrangements. In particular, the package implements methods to generate several known families of arrangements, to perform operations on them, and to calculate various invariants associated to them.