Unable to install skeleton framework

For some reason I get errors when trying to use composer.phar I can type composer and i get the composer logo and all. I can use Php cli just fine. but when I try to use php composer.phar create-project slim/slim-skeleton slimp I get the error:
Could not open input file: composer.phar
Is there some other way to to download slim-skeleton?
Thanks,
Paul

If typing compser works on it’s own, then use that rather than php composer.phar.

i.e.

composer create-project slim/slim-skeleton [my-app-name]

if you use composer on ubuntu, just install it using …
curl -sS https://getcomposer.org/installer | sudo php – --install-dir=/usr/local/bin --filename=composer

change to your web dir and install slim etc… using
sudo composer require slim/slim
sudo composer require slim/twig-view
sudo composer require slim/csrf