Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Cannot get CLI working

Started by Muut Archive 9 years ago · 1 replies · 652 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 1981 9 years ago
Archive · by Muut Archive, 9 years ago
2 1334 9 years ago
Archive · by Muut Archive, 9 years ago
2 4536 9 years ago
Archive · by Muut Archive, 9 years ago
1 3391 9 years ago
Archive · by Muut Archive, 9 years ago
3 1486 9 years ago