Last active
February 11, 2021 04:01
-
-
Save HiroshiHara/a7a1eb894b3457c60fbcf165bcdf9b65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# npm install [packege name] | |
ローカルインストール(プロジェクトのルートディレクトリ) | |
# npm install -g [package name] | |
グローバルインストール(npmのルートディレクトリ) | |
# npm install --save [package name] | |
ローカルインストール | |
+ package.jsonのdependenciesに追記 | |
* dependencies... モジュールの動作に必要なもの | |
* npm initしてないと使えない | |
# npm install --save-dev | |
ローカルインストール | |
+ package.jsonのdevDependenciesに追記 | |
* devDependencies... 開発に必要なもの | |
* npm initしてないと使えない |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment