Regarding yarn installation


I am facing errors while installation of yarn on my laptop..also , we crreated a directory training in the 1st training(mastering plone development), for the volto hands on training do we have to do this installation setup globally or inside the same training directory?
i am following the below training