@samara
Additionally, you can also install Yarn using NPM, which is the package manager that comes with Node.js. Here are the steps to install Yarn using NPM:
- First, make sure you have Node.js installed on your system. If not, you can install Node.js by running the following command:
1
|
sudo apt install nodejs
|
- Once you have Node.js installed, you can install Yarn by running the following command:
1
|
sudo npm install -g yarn
|
- After the installation is complete, you can verify the installation by checking the version of Yarn:
You should see the version number of Yarn printed to the terminal, indicating that it has been successfully installed using NPM.