LoginSignup
3
0

More than 5 years have passed since last update.

yarnでグローバルにインストールした実行ファイルのパスを通す

Posted at

yarnでグローバルな実行ファイルをインストールするには、例えばyarn global add eslintとすればよい。
しかし、そのままだとパスが通っていないので通す必要がある。

雑だけど、.zshrc(or .bashrc)で

export PATH=$(yarn global bin):$PATH

すればOK!

参考: https://github.com/yarnpkg/website/pull/142

3
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
3
0