WSL configuration

I’m am getting this error while installing wsl in powershell wsl–install : The term ‘wsl–install’ is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • wsl–install
  •   + CategoryInfo          : ObjectNotFound: (wsl--install:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException