ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Bash: syntax error



Hi ever one
i install erpnextin ubuntu 18 from

bench --version

and in this step
Bench - Quickstart

To create a new bench, simply use the bench init command as follows:

$ bench init [–frappe-branch ] <MY_BENCH>

bash: syntax error near unexpected token `newline’
what the problem?


Hi welcome to ERPNext,

If you are entering this on the command line:

$ bench init [–frappe-branch ] <MY_BENCH>

instead you want to enter something like this:

$ bench init --frappe-branch master frappe-bench

The idea is <MY_BENCH> indicates a placeholder as explained for example here

A syntax error means the command interpreter cannot parse the ‘language’ instructions you have entered


Thanks so much my hero I will try new