John
John

Reputation: 45

yii2 error when trying to install all generats files

When I am trying to type init --env=Development --overwrite=n in command line on Linux

I have an error bash: --env=Development: command not found

Upvotes: 0

Views: 31

Answers (1)

Blizz
Blizz

Reputation: 8408

On linux, for security purposes, you have to refer to the current directory specifically.

You will have to use

./init --env=Development --overwrite=n

Also take a look here for a more extensive explanation.

Upvotes: 1

Related Questions