<p>You're just entering the command slightly wrong is all. Where you go:</p>

<pre><code>composer create-project craftcms/Users/lestone2
</code></pre>

<p>It should be:</p>

<pre><code>composer create-project craftcms/craft /path/to/project
</code></pre>

<p>The craftcms/craft bit isn't a directory, it's vendor/package. The path to where you want your project to be (including the name) comes after. Good luck!</p>

CC BY-SA 4.0
2018-11-14T23:35:37.270Z
No worries Theodore. If you could mark this as the accepted answer that'd be appreciated :)
JamesNZ
CC BY-SA 4.0
2018-11-13T03:58:35.950Z
2018-11-13T03:58:35.950Z
JamesNZ
<p>I need your help, please.</p>

<p>At <a href="https://docs.craftcms.com/v3/installation.html#step-1-download-craft" rel="nofollow noreferrer">https://docs.craftcms.com/v3/installation.html#step-1-download-craft</a> I have this instruction:</p>

<blockquote>
  <p>"To create a new Craft project, run this command (substituting  with the path where Composer should create the project): composer create-project craftcms/craft "</p>
</blockquote>

<p>I get </p>

<blockquote>
  <p>"[InvalidArgumentException] .Could not find package craftcms/users/lestone2 with stability stable"</p>
</blockquote>

<p>on entering <code>composer create-project craftcms/Users/lestone2</code>.</p>

<p>I get the same message on entering <code>php composer.phar create-project craftcms/Users/lestone2</code></p>

<p>Can someone help me to set up the instruction correctly? Or do I have a permissions issue? (I am logged on as the admin.).</p>

<p>I found one related question at: <a href="https://stackoverflow.com/questions/36897084/could-not-open-input-file-composer">https://stackoverflow.com/questions/36897084/could-not-open-input-file-composer</a> but the issue there is not the same as mine.</p>

<p>Thanks in advance.</p>

<p>P.S. I downloaded v1.7.3 of composer at <a href="https://getcomposer.org/download/" rel="nofollow noreferrer">https://getcomposer.org/download/</a> , and the file's integrity was confirmed.</p>

<php><composer>
InvalidArgumentException with composer
# InvalidArgumentException with composer

(Asked by: username_0 on 2018-11-13)

I need your help, please.

At <https://docs.craftcms.com/v3/installation.html#step-1-download-craft> I have this instruction:

> "To create a new Craft project, run this command (substituting with the path where Composer should create the project): composer create-project craftcms/craft "

I get

> "[InvalidArgumentException] .Could not find package craftcms/users/lestone2 with stability stable"

on entering `composer create-project craftcms/Users/lestone2`.

I get the same message on entering `php composer.phar create-project craftcms/Users/lestone2`

Can someone help me to set up the instruction correctly? Or do I have a permissions issue? (I am logged on as the admin.).

I found one related question at: <https://stackoverflow.com/questions/36897084/could-not-open-input-file-composer> but the issue there is not the same as mine.

Thanks in advance.

P.S. I downloaded v1.7.3 of composer at <https://getcomposer.org/download/> , and the file's integrity was confirmed.

**Tags:** php, composer


---

## 1 answers

### Answer by username_1 on 2018-11-13. Score: 1

You're just entering the command slightly wrong is all. Where you go:
composer create-project craftcms/Users/lestone2

It should be:
composer create-project craftcms/craft /path/to/project

The craftcms/craft bit isn't a directory, it's vendor/package. The path to where you want your project to be (including the name) comes after. Good luck!

> **Comments:**
> **username_1**: No worries Theodore. If you could mark this as the accepted answer that'd be appreciated :)  

---

