Install for openzeppelin@latest failed with code 1

Reported by a community member on Intercom
After running npm install @openzeppelin/cli they get an error:
Install for openzeppelin@latest failed with code 1

npm : 6.11.3
node: v10.16.3

Unfortunately, I wasn’t able to reproduce this issue.

You could try running npm cache clean and try installing again (as per npm documentation: https://docs.npmjs.com/common-errors#random-errors)

Try creating a new project:

mkdir myproject && cd myproject
npm init -y
npm i @openzeppelin/cli
npx oz init