Add composer path to the /home/luis/.nvm/v0.10.22/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr:/opt/ec2/bin env so it is recognizable