Appium installation path default vs user directory query

Dear All,

There are 2 places appium gets installed with npm with global flag

Option 1:


Option 2:


can anyone clarify why appium is getting installed at different directory with the same command ?


Sorry, but this is all about installing packages per user and shared - this is the way the linux filesystem works “usr” is where all “shared” executables live, nothing unusual here. How, exactly is this causing you to not be able to use the tool in a way you expected to?