yarnでグローバルな実行ファイルをインストールするには、例えばyarn global add eslintとすればよい。
しかし、そのままだとパスが通っていないので通す必要がある。
雑だけど、.zshrc(or .bashrc)で
export PATH=$(yarn global bin):$PATH
すればOK!
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
yarnでグローバルな実行ファイルをインストールするには、例えばyarn global add eslintとすればよい。
しかし、そのままだとパスが通っていないので通す必要がある。
雑だけど、.zshrc(or .bashrc)で
export PATH=$(yarn global bin):$PATH
すればOK!
Register as a new user and use Qiita more conveniently
Go to list of users who liked