Skip to main content
Skip to main content

Resolve Errors Installing Medusa CLI

In this document, you can find solutions to some common problems that occur when installing Medusa’s CLI Tool.

NPM Error: EACCES Permissions Errors

If you install the Medusa CLI tool with NPM and get a permission error, NPM proposes as a solution either re-installing NPM with a node version manager (nvm), or manually setting npm’s default directory.

You can check out more information in NPM’s documentation.


Powershell Error: command not found: medusa

If you're using Powershell and you installed the CLI tool, but when you try to use it you get the error:

command not found: medusa

Try closing your Powershell window and opening a new one.


Yarn Error: command not found: medusa

If you install the Medusa CLI tool with Yarn, then try to use the CLI tool but get the error:

command not found: medusa

You have to add Yarn’s install location to the PATH variable:

export PATH="$(yarn global bin):$PATH"

You can learn more in Yarn’s documentation.

Was this section helpful?