Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global installation not working #29

Open
datsfilipe opened this issue Sep 6, 2022 · 1 comment
Open

Global installation not working #29

datsfilipe opened this issue Sep 6, 2022 · 1 comment

Comments

@datsfilipe
Copy link

Tried installing vercel globally, but it didn't work as expected.
The terminal output:

~ yarn global add vercel
yarn global v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
      - vc
      - vercel
Done in 23.68s.
~ asdf reshim
~ vercel
fish: Unknown command: vercel

I'm using fish as shell, wezterm as the terminal emulator and Archlinux as OS.

@doubledup
Copy link

Seeing the same issue using fish shell and the Kitty emulator on MacOS. fwiw the installed commands are placed in ~/.yarn/bin/, so adding that directory to $PATH is a workaround for now:

echo 'set -x PATH $PATH $HOME/.yarn/bin/' >> ~/.config/fish/config.fish

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants