Skip to content

"command not found: vercel" after installing globally #5019

Answered by TomVizzo
lukosevicius asked this question in Help
Discussion options

You must be logged in to vote

Solution:
mkdir ~/.npm-global
export NPM_CONFIG_PREFIX=~/.npm-global
export PATH=$PATH:~/.npm-global/bin
echo -e "export NPM_CONFIG_PREFIX=~/.npm-global\nexport PATH=$PATH:~/.npm-global/bin" >> ~/.bashrc

Replies: 12 comments 47 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@salatielosorno
Comment options

@solarlime
Comment options

@Blueblack319
Comment options

@TheKachi
Comment options

@francesca-giammichele-mahana
Comment options

You must be logged in to vote
26 replies
@JKQuah
Comment options

@Sir-Rumeh
Comment options

@abrahammegantoro
Comment options

@truecode112
Comment options

@Johnrobmiller
Comment options

Answer selected by amyegan
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@duggiemitchell
Comment options

@proverbed
Comment options

Comment options

You must be logged in to vote
3 replies
@romelgomez
Comment options

@leerob
Comment options

@naskritus
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jauresmanouan
Comment options

Comment options

You must be logged in to vote
2 replies
@Ayush242
Comment options

@rd273001
Comment options

Comment options

You must be logged in to vote
5 replies
@Risini1998
Comment options

@arnelamo
Comment options

@gillianroberts1
Comment options

@ivonamojsovska
Comment options

@jornatf
Comment options

Comment options

You must be logged in to vote
2 replies
@prodkt
Comment options

@gonwi
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet