import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

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

```bash noReport
command not found: medusa
```

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

<Tabs groupId="operating-systems" isCodeTabs={true}>
  <TabItem value="unix" label="MacOS / Linux" default>

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

  </TabItem>
  <TabItem value="windows" label="Windows">

    ```bash
    # MAKE SURE TO INCLUDE %path%
    setx path "%path%;c:\users\YOURUSERNAME\appdata\local\yarn\bin"
    # YOURUSERNAME is your account username
    ```

  </TabItem>
</Tabs>

You can learn more in [Yarn’s documentation](https://classic.yarnpkg.com/en/docs/cli/global#adding-the-install-location-to-your-path).