I feel like a moron for having to ask this, and I've gone through all the similar questions to no avail. I am running Ubuntu 14.04 in a vagrant vm on a mac. I have composer installed and i have run these commands:
composer global require "laravel/installer"
(this appears to have worked and shows that laravel is one of things that was downloaded)
I have also added this line to the .bashrc
export PATH="∼/.composer/vendor/bin:$PATH"
Note, i added this to both the vagrant user as well as the root users .bashrc file. I have logged out and back into the shell and verified the path with this command:
echo $PATH
Which gives me this:
∼/.composer/vendor/bin:∼/.composer/vendor/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
and the command itself that fails is this
laravel new test
I don't see what i could be missing, any ideas?