By default, Fedora 42 in WSL doesn't have clear command, and that can be installed by the following package using dnf -
clear
dnf
$ sudo dnf install ncurses
Source: Fedora SubRedditarrow-up-right
Last updated 8 months ago