I have installed yarn - Node.js package manager (alternative to npm):
$ sudo apt install yarnpkg
...
$ dpkg -l | grep yarn
ii yarnpkg 1.13.0-1 all Fast, reliable and secure npm alternative
But it has installed only the yarnpkg
command:
$ dpkg -L yarnpkg | grep usr/bin/
/usr/bin/yarnpkg
I think this is some Debian-specific change? I have expected that the command would be yarn
like elsewhere (for example when installed from official yarn repository).
Why is it this way? How can I make it possible to run yarnpkg
as yarn
? Is there any standardized way, did I miss something, or should I just create symlink /usr/local/bin/yarn
?
apt search yarn
and didn't find a conflicting package name.