kind-queen-6796
02/11/2022, 2:12 PMswift-school-95990
02/11/2022, 2:13 PMkind-queen-6796
02/11/2022, 2:15 PMmodern-table-48211
02/11/2022, 2:18 PMechoing-sugar-95154
02/11/2022, 2:22 PMnpm config set prefix '~/.npm-packages'
Open the config file in nano.
nano ~/.zshrc
Add this line.
export PATH=$PATH:$HOME/.npm-packages/binkind-queen-6796
02/11/2022, 2:25 PMbroad-magazine-64835
02/11/2022, 2:25 PMflat-morning-91037
02/11/2022, 2:26 PMswift-school-95990
02/11/2022, 2:26 PMPATH variable.
• Install without -g which you will have it installed but might require you to use the direct path to the script node_modules/gatsby-cli/bin/...
• use homebrew if the package is there.echoing-sugar-95154
02/11/2022, 2:26 PMkind-queen-6796
02/11/2022, 2:29 PMOpen the config file in nano.@echoing-sugar-95154 I'm a noob, what does this mean
broad-magazine-64835
02/11/2022, 2:30 PMechoing-sugar-95154
02/11/2022, 2:32 PMcode ~/.zshrc to open the config file in VS Code instead.red-oyster-35440
02/11/2022, 2:51 PMmodern-table-48211
02/11/2022, 5:32 PM