How to install supervisor?

I want to install supervisor, but it doesn’t work well.

Firstly I typed npm install -g supervisor

jiyeonghyeon@jiyeonghyeon-ui-MacBookPro node-study % npm install -g supervisor
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! code EACCES
npm ERR! syscall access
npm ERR! path /usr/local/lib/node_modules
npm ERR! errno -13
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules'
npm ERR!  [Error: EACCES: permission denied, access '/usr/local/lib/node_modules'] {
npm ERR!   errno: -13,
npm ERR!   code: 'EACCES',
npm ERR!   syscall: 'access',
npm ERR!   path: '/usr/local/lib/node_modules'
npm ERR! }
npm ERR! 
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR! 
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/jiyeonghyeon/.npm/_logs/2021-02-10T10_35_50_127Z-debug.log
jiyeonghyeon@jiyeonghyeon-ui-MacBookPro node-study %

After googling, internet friends recommend to use sudo.

jiyeonghyeon@jiyeonghyeon-ui-MacBookPro node-study % sudo npm install -g
+ study@1.0.0
added 1 package from 1 contributor in 0.195s

but it doesn’t work.
I want to solve this problems.
I am really beginner.
Thank you all !

This is error message when I tried to use supervisor.

jiyeonghyeon@jiyeonghyeon-ui-MacBookPro node-study % supervisor app.js
zsh: command not found: supervisor