Hi, @lemurweb-dev. First, it should be not required to run sudo
to install the Netlify CLI tool. However, when using sudo
with npm you often need to add a --unsafe-perm=true
option like so:
sudo npm install -g --unsafe-perm=true netlify-cli
So, this is unrelated to the netlify-cli
package itself. It is due to installing the dependency esbuild-linux-64
using sudo
.
Again, though, I would usually ask you to reconsider using sudo
with npm
in the first place as this isn’t something that is usually required.
If there are other questions or concerns, please let us know.