LoginSignup
1
0

More than 3 years have passed since last update.

yarn 基本的な使い方

Posted at

rubyでいうgemのようなnode.jsのスクリプト管理ツール

$ yarn init
# -> 対話式にpackage.json作成
$ yarn add module_name
# -> ローカルインストール
$ yarn list
# -> add済みのモジュール一覧

またhomebrewのようにshellで使えるcliをグローバルインストールすることにも使える

$ yarn add -g xxxx # cliとして入れたいモジュール名
$ yarn add -g http-server # 例
1
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
1
0