When trying to create site an error occured

$ bench new-site ‘sitename’.local

Usage: bench [OPTIONS] COMMAND [ARGS]…
Try “bench --help” for help.

Error: No such command “new-site”.

Hi welcome to ERPNext

For the bench to recognize a command, the command must be preceded by two hyphens for eg --new-site or --help like this:

(env) frappe@ubuntu:~/frappe-bench$ bench --help
Usage: [OPTIONS] COMMAND [ARGS]…

Bench manager for Frappe

Options:
–version
–help Show this message and exit.

Commands:
backup backup site
backup-all-sites backup all sites
config change bench configuration

i am new to install erpnext and i used this site for installation:-

and i am not able to create new site for local host.

i am using command for creating new site:-
$ bench new-site sitename.local

and found following error:-
Usage: bench [OPTIONS] COMMAND [ARGS]…
Try “bench --help” for help.

Error: no such option: --new-site

can someone provide me a link for proper installation of erpnext after clean installation of ubuntu 18.04

i need step by step process

sir i have also tried by two hyphens but the problem is same

Indeed yes my apologies --help and --version are the only commands you must precede with ‘–’

You are running bench as frappe user from say /home/frappe/frappe-bench, correct?

edit: Here are I believe the official install notes GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps

Is frappe is installed properly

yes, I have installed frappe properly.

$ bench new-site ‘sitename’.local
indicates that you are in ~ subdirectory. Try

cd ~/frappe-bench
bench new-site ‘sitename’.local