Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Cannot get CLI working

Started by Muut Archive 9 years ago · 1 replies · 726 views
9 years ago

I've been just getting around not being able to use the CLI by just downloading files and dropping them into correct location. I would like to be able to actual use the CLI though. Here's my setup:
Windows 7.
Gitbash.
Development Environment: Vagrant with Scotchbox.

I am for example trying to use DevTools:
bin/plugin devtools new-theme
/usr/bin/env: ‘php’: No such file or directory

If I Vagrant SSH and try the same thing I get permission denied.
If I sudo bin/plugin devtools new-theme I get command not found.

9 years ago

You need to make sure you have CLI PHP installed and also that PHP is in your path. You can test with php -v from CLI.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2563 9 years ago
Archive · by Muut Archive, 9 years ago
2 1689 9 years ago
Archive · by Muut Archive, 9 years ago
2 4980 9 years ago
Archive · by Muut Archive, 9 years ago
1 3804 9 years ago
Archive · by Muut Archive, 9 years ago
3 1798 9 years ago