Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Cannot get CLI working

Started by Muut Archive 10 years ago · 1 replies · 804 views
10 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.

10 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 Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3042 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago