Switching module streams

This page needs to be extended.
Switching streams is a risky operation that might not be always supported in packages, especially downgrades.

Switching to a different stream than the one that is installed on a system is a two-step process. First, the current stream needs to be reset causing it not to be enabled anymore — this will however keep its packages installed. Second, a new stream needs to be installed.

$ dnf module reset NAME
$ dnf module install NAME:STREAM

For example, to switch from Node.js 8 to Node.js 10, run:

$ dnf module reset nodejs
$ dnf module install nodejs:10