Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Can't install yarn or gulp via npm


I have npm version 10.2.3. I tried running the following commands:

npm install --global yarn
npm install --global gulp-cli

But when I check the versions to see if yarn or gulp has been installed, I get:

zsh: command not found: yarn
zsh: command not found: gulp

Not sure what I'm doing wrong. (P.S. I have a macbook. I have installed the latest version of Nodejs. And, I am running these commands from within the tools/ directory of my chosen theme, which is demo#23.)


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (8)


Located in the heart of the city Nadd Al Hamar Dubai offers easy access to shopping centers schools and major highways .



Enjoy the memorable desert safari tour in Dubai's number 1 Arabian Red Sand Desert including thrilling desert safari Desert Safari Dubai 2025 Most awarded as Best Desert Safari in Dubai



Please try doing the opposite as instructed to see if it works io games



<p><br>A silver metallic corset dress exudes futuristic glamour, sculpting the figure with its structured bodice and shimmering fabric. silver metallic corset dress</p>



Glad you have solved it! Sorry for the delay in responding. If you have any more questions, feel free to ask for assistance.



I figured it out. My yarn binary was not being located by my shell properly. I had to add the following line to my ~/.zshrc file, replacing <npm-global-path> with the actual path:

export PATH="<npm-global-path>/bin:$PATH"



You can check Node.js and npm. Ensure that Node.js and npm are installed correctly by running the following commands in your terminal basketball stars



I'm confused. This doesn't help at all.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(