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.

Node.js npmをインストールする時の備忘録

Last updated at Posted at 2020-12-18

知識が少ない自分のための記事

Cordovaを使おうとnpmをインストールした際

ほとんどはこの記事のまま実行
買いたてのMacにNode.jsとnpmをインストール

実行パスを通すところの理解がたらず手間取ってしまった。

$ nodebrew setup
Fetching nodebrew...
Installed nodebrew in $HOME/.nodebrew

========================================
Export a path to nodebrew:

export PATH=$HOME/.nodebrew/current/bin:$PATH
========================================

この

PATH=$HOME/.nodebrew/current/bin:$PATH

を使用して

$ echo 'export PATH=$HOME/.nodebrew/current/bin' >> ~/.bashrc

と 書き込む

いずれ理解を深めていきたい

###参考サイト
nodebrewのセットアップ&操作方法(Mac)

0
0
1

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?