# Command 'X' not found

**URL:** <https://forum.legato.io/t/command-x-not-found/4323>\
**Category:** VSCode\
**Created:** [May 6, 2019, 9:03pm UTC](https://forum.legato.io/t/command-x-not-found/4323 "2019-05-06T21:03:34Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbeckwith](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/dbeckwith/32/663_2.png) [@dbeckwith](https://forum.legato.io/u/dbeckwith)\
**Post date:** [May 6, 2019, 9:03pm UTC](https://forum.legato.io/t/command-x-not-found/4323/1 "2019-05-06T21:03:34Z")

</div>

Hi I recently Leaf and the new Leaf extension for VSCode. I reached step 6 and I can’t get the extension to ask about the Legato definition file. When I run the command \<Legato/System: New app\> or \<Legato/System: Create system\> I get an error in the lower right "command 'cmd.legator.system.create. not found.

Thanks.

 ![43%20PM](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/1X/c471645040238ad3a97bf8296b23451139eeff08.png)

---

<div class="post-metadata">

**Author:** ![Sarra](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/sarra/32/662_2.png) [@Sarra](https://forum.legato.io/u/Sarra)\
**Post date:** [May 22, 2019, 11:33pm UTC](https://forum.legato.io/t/command-x-not-found/4323/2 "2019-05-22T23:33:33Z")

</div>

Hi,

If you go onto the leaf extension and look at your profiles do you have the swi-vscode-support\_190424 package installed into your profile?

We are still in an alpha state and haven’t fully integrated the tools yet by default into the package (this is coming). It looks like you don’t have mkedit installed (one of the tools that vsCode relies on to create the system).

Your installed packages should look something like this (I’m on an internal version atm so the package name will be different then what you have for the main leaf package but you want to make sure that swi-vsode-support is added to your current profile):  
 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/1X/9317e888b0886665b5cbcf8563946964a6fa68b9.png)

And then try to reload the window.

I hope that helps, if not please provide a screenshot of your leaf profiles and I can see what the issue is.

---

<div class="post-metadata">

**Author:** ![dbeckwith](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/dbeckwith/32/663_2.png) [@dbeckwith](https://forum.legato.io/u/dbeckwith)\
**Post date:** [May 23, 2019, 4:03am UTC](https://forum.legato.io/t/command-x-not-found/4323/3 "2019-05-23T04:03:44Z")

</div>

@Sarra here is the screenshot for the Leaf profiles you asked for.

 ![40%20PM](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/1X/621f58830d0e3c7d05942bec0b5613a9584fb2cc.png)

---

<div class="post-metadata">

**Author:** ![Sarra](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/sarra/32/662_2.png) [@Sarra](https://forum.legato.io/u/Sarra)\
**Post date:** [May 23, 2019, 6:48pm UTC](https://forum.legato.io/t/command-x-not-found/4323/4 "2019-05-23T18:48:36Z")

</div>

The issue is that you don’t have the vscode support package installed into your profile. You need one for each profile you are going to use. We have a number of extra tools that the IDE uses that aren’t part of the Legato Application Framework (yet, they will be there in the future).

What you need to do is add a filter above for “vscode” and have both master and vscode filter selected (unselect any others). You should see 2 packages, the one labeled 190424 is the newest and should be used.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/1X/4b418cd5c5216cdec2132e8d216dd96348748528.png)

Click on the swi-vscode-support-190424 package and click on Add to profile…  
That should add the tools that you need to your profile and get ride of the error that you are seeing.

---

<div class="post-metadata">

**Author:** ![dbeckwith](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/dbeckwith/32/663_2.png) [@dbeckwith](https://forum.legato.io/u/dbeckwith)\
**Post date:** [May 23, 2019, 7:07pm UTC](https://forum.legato.io/t/command-x-not-found/4323/5 "2019-05-23T19:07:35Z")

</div>

@Sarra Thanks, I will give it a try and let you know.

---

<div class="post-metadata">

**Author:** ![dbeckwith](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/dbeckwith/32/663_2.png) [@dbeckwith](https://forum.legato.io/u/dbeckwith)\
**Post date:** [May 24, 2019, 6:19pm UTC](https://forum.legato.io/t/command-x-not-found/4323/6 "2019-05-24T18:19:45Z")

</div>

@Sarra This worked thanks!

---

<div class="post-metadata">

**Author:** ![TheGod](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/thegod/32/252_2.png) [@TheGod](https://forum.legato.io/u/TheGod)\
**Post date:** [May 27, 2019, 6:47pm UTC](https://forum.legato.io/t/command-x-not-found/4323/7 "2019-05-27T18:47:49Z")

</div>

Hi,  
It does not work for me.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/legato1/original/1X/23cfca670157b04a105099db14f55185b05b7e5f.png)

---

<div class="post-metadata">

**Author:** ![TheGod](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/thegod/32/252_2.png) [@TheGod](https://forum.legato.io/u/TheGod)\
**Post date:** [May 28, 2019, 10:53pm UTC](https://forum.legato.io/t/command-x-not-found/4323/8 "2019-05-28T22:53:06Z")

</div>

I resolved it by myself.

sudo apt-get --allow-releaseinfo-change update  
sudo apt-get update
