Recommended doing the installation of needed tools using the bash script command. But if that is not the case. By deciding to manually install custom versions. Please follow with the following steps.
Helps with string replace and re-naming files.
sudo apt install -y sed gawk;Helps getting more development tools and the Bootstrap and popper packages.
Install Yarn as a global by npm
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt update
sudo apt install nodejs
sudo apt install build-essential
curl -L https://npmjs.com/install.sh | sudo -E bash -
sudo apt update
sudo apt install npmsudo apt install yarnsudo npm install -g yarn