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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Cannot get CLI working

Started by Muut Archive 9 years ago · 1 replies · 590 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 1297 9 years ago
Archive · by Muut Archive, 9 years ago
2 894 9 years ago
Archive · by Muut Archive, 9 years ago
2 4024 9 years ago
Archive · by Muut Archive, 9 years ago
1 2899 9 years ago
Archive · by Muut Archive, 9 years ago
3 1082 9 years ago