You're reading the documentation for an older, but still supported, version of ROS 2. For information on the latest version, please have a look at Humble.
Latest development (source)
If you plan to contribute directly to the latest ROS 2 development, you can install ROS 2 by building it from source or installing testing binaries. This will give you the latest bug fixes and features.
Building from source
The latest development does not go through the same rigorous testing as releases and is not recommended if you are looking for a stable version of ROS 2. Instead, choose a ROS distribution that has already been released.
Follow the links below for the latest setup instructions for your platform:
For keeping your source code up-to-date, see Maintain a source checkout.