I am on my way to install mastodon.
The installation guide says:
- be root
sudo su -
- [do some other stuff]
- set up yarn:
yarn set version classic
This gives the following output:
Resolving classic to a url...
Downloading https://github.com/yarnpkg/yarn/releases/download/v1.22.19/yarn-1.22.19.js...
Saving it into /etc/apt/.yarn/releases/yarn-1.22.19.cjs...
Updating /etc/apt/.yarnrc...
Done!
So this installs the .yarn files into /etc/apt, just because I accidentally happened to be in that directory. This is obviously nonsense.
So my question:
Where should these files be located?
In /root? Some yarn guides say it has to be the project directory, which would be /home/mastodon[/live] in my case???