Title
g

geabenitez

12/17/2018, 9:11 PM
Hello guys, I just tried to install prisma globally with both (yarn and npm) but when I try to use prisma I get: bash: prisma: command not found, asny ide what can I do?
f

faure

12/17/2018, 9:12 PM
Have you made sure your global install directory is in your path?
g

geabenitez

12/17/2018, 9:13 PM
No, i'll take a look to it right now, what should it be?
I just found this path on system variables C:\Program Files (x86)\Yarn\bin\
f

faure

12/17/2018, 9:16 PM
I'm not familiar with ms systems but you should make sure the prisma binary is in your path (if it works like bash at all lol)
what does
echo $SHELL
and
echo $PATH
print?
g

geabenitez

12/17/2018, 9:21 PM
echo $SHELL /usr/bin/bash $ echo $PATH /c/Users/gersonz/bin😕mingw64/bin:/usr/local/bin😕usr/bin:/bin😕mingw64/bin:/usr /bin😕c/Users/gersonz/bin:/c/oracle/product/10.2.0/client_1/bin:/c/app/oliver/pr oduct/11.2.0/client_1/bin😕c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbe m😕c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/WINDOWS/System32/OpenSSH:/c/Prog ramData/chocolatey/bin:/c/Program Files/nodejs:/c/Program Files (x86)/Yarn/bin:/ cmd😕c/Users/gersonz/AppData/Local/Microsoft/WindowsApps:/c/Users/gersonz/AppDat a/Local/Programs/Microsoft VS Code/bin:/c/Program Files/Docker Toolbox:/c/Progra m Files/Docker Toolbox:/c/Program Files/Docker Toolbox😕usr/bin/vendor_perl:/usr /bin/core_perl
f

faure

12/17/2018, 9:40 PM
Sorry, I had my internet connection drop
Make sure your prisma executable is in the yrn/bin directory
g

geabenitez

12/17/2018, 9:46 PM
no problem. I found prisma under C:\Users\gersonz\AppData\Local\Yarn\bin, this path is listed under PATH for user variabled but not for system variables,
I changed it inside system variables and it worked after a restart
Thank you for your help.
Actually, I had to add the path, not replace it (replacing it did work, but disable to posibility to install packages)
f

faure

12/17/2018, 10:17 PM
👍
Glad I helped
👍 1