shopify help command error

Shopify Partner
1 0 0


I am trying to install shopify cli but after installing ruby and running npm install -g @Shopify/cli, i get the error below. How do i resolve it please?

Error: self-signed certificate in certificate chain
at TLSSocket.onConnectSecure (node:_tls_wrap:1659:34)
at TLSSocket.emit (node:events:514:28)
at TLSSocket.emit (node:domain:488:12)
at TLSSocket._finishInit (node:_tls_wrap:1070:8)
at ssl.onhandshakedone (node:_tls_wrap:856:12)

Replies 0 (0)