It is likely you do not have the permissions to access this file as the current user

Last login: Fri Apr 7 00:55:30 on ttys000

The default interactive shell is now zsh.

To update your account to use zsh, please run chsh -s /bin/zsh.

For more details, please visit Use zsh as the default shell on your Mac - Apple Support.

MacBook-Air-4:~ hyoungyongjoon$ npm install -g expo-cli

npm notice

npm notice New minor version of npm available! 9.5.0 → 9.6.4

npm notice Changelog: Release v9.6.4 · npm/cli · GitHub

npm notice Run npm install -g npm@9.6.4 to update!

npm notice

npm ERR! code EACCES

npm ERR! syscall mkdir

npm ERR! path /usr/local/lib/node_modules/expo-cli

npm ERR! errno -13

npm ERR! Error: EACCES: permission denied, mkdir ‘/usr/local/lib/node_modules/expo-cli’

npm ERR! [Error: EACCES: permission denied, mkdir ‘/usr/local/lib/node_modules/expo-cli’] {

npm ERR! errno: -13,

npm ERR! code: ‘EACCES’,

npm ERR! syscall: ‘mkdir’,

npm ERR! path: ‘/usr/local/lib/node_modules/expo-cli’

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/hyoungyongjoon/.npm/_logs/2023-04-06T16_13_46_511Z-debug-0.log

MacBook-Air-4:~ hyoungyongjoon$