I finally got it right.
Here is the command line I use and it works.
/qs /ACTION=Install /FEATURES=SQLEngine,SSMS /INSTANCENAME="Your instance name here" /SQLSVCACCOUNT="NT AUTHORITY\Network Service" /SQLSYSADMINACCOUNTS="Administrators" /AGTSVCACCOUNT="NT AUTHORITY\Network Service" /IACCEPTSQLSERVERLICENSETERMS
You can also change other accounts, but the accounts you are going to use must have been created in your system and it is better an admin account and you do not need to specify the password.