LoginSignup
26
19

More than 3 years have passed since last update.

VSCode のターミナルで PATH 自動設定

Last updated at Posted at 2018-02-08

VSCode v1.20 で統合ターミナルの環境変数を自動設定できるようになったので、これを利用して npm でローカルインストールした CLI を使えるようにしてみる。

ユーザー設定
{
    "terminal.integrated.env.windows": {
        "PATH": "${workspaceRoot}\\node_modules\\.bin;${env:PATH}"
    },
}

簡単便利。

26
19
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
26
19