V
V
Vladislav2021-08-30 22:08:40
linux
Vladislav, 2021-08-30 22:08:40

How to issue a command to the user?

I installed nvm via root.
But when I'm under administrator under user, then when I try to enter nvm | node writes that unknown command
checked the path really there are no these folders, how do you need to add them there or give permissions to these commands like that? Tell me plz

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2021-08-30
@cr1gger

learn what PATH is. how it is processed. how it differs between different users.
in a simple way: for any user, you can always change PATH.

A
Alexander Karabanov, 2021-08-30
@karabanov

Use Docker and you won't have to deal with installing anything on the system.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question