1

I am trying to install @tendermint/starport:

npm i -g @tendermint/starport

I get this error:

 EACCES: permission denied, open '/usr/local/lib/node_modules/@tendermint/starport/tmp-167254-vA18laJne7zO'

I am executing the command as superuser.

What is the problem here and how can I fix this?

Lauren Yim
  • 12,700
  • 2
  • 32
  • 59
MS B
  • 199
  • 3
  • 14

1 Answers1

1

The recommended way to install Starport is to use the following command:

curl https://i.jpillora.com/tendermint/starport! | bash

It will use a script to download the binary and install it in /usr/local/bin. On macOS you can also use Homebrew:

brew install tendermint/tap/starport
Denis Fadeev
  • 188
  • 1
  • 1
  • 8