0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

npm

Last updated at Posted at 2023-04-19

まとめページに戻る
まとめN~Z

パスの設定

windows

Just add:

;C:\Program Files\nodejs\

To the end of your Path variable on the "User variable" section of the Environment Variables on the System Properties.

After that, reopen your command prompt and type

npm

This should work.

Mac

If you installed Node.js using Homebrew, npm binaries can be found in /usr/local/share/npm/bin.

You should make sure this directory is in your PATH environment variable. So, in your ~/.zshrc file add

export PATH=/usr/local/share/npm/bin:$PATH

image.png

I think the npm path is not created.

Fixing npm path in Windows 8 and 10
https://github.com/HashLips/hashlips_art_engine/issues/1283

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?