You are not logged in.
I just installed this tool using npm:
sudo npm install -g article_md
And it worked great. The installation location is
/usr/lib/node_modules/article_md
The binary is in
/usr/bin/article_md
However, a thought occurred that this might not a good location.
In Arch /usr/ directory tree is managed by packages. Thus, the might be a package that installs article_md at least into /usr/bin/article_md.
I think that it is more appropriate for this type of installation to go to "/usr/local/bin", because that's not owned by packages.
I understand that things like that are very difficult to change and "npm" is not under Arch control.
Is there any option that at least will allow me to direct npm installation into "/usr/local" instead of "/usr"? It would be nice if I could configure that and forget about it.
Last edited by kulak (2022-08-13 14:51:53)
Offline
Yes, don't add -g or --global to npm install.
See https://wiki.archlinux.org/title/Node.j … s_with_npm for details
Last edited by Lone_Wolf (2022-08-13 17:22:36)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline