I'm trying to install cypress using binary. Currently using below command in vs code: CYPRESS_INSTALL_BINARY=C:\Users\abcd\Downloads\cypress.zip npm install cypress
Source: https://docs.cypress.io/guides/getting-started/installing-cypress.html#Install-binary
This is not working for me, showing below error:
CYPRESS_INSTALL_BINARY=C:\Users\abcd\Downloads\cypress.zip : The term 'CYPRESS_INSTALL_BINARY=C:\Users\abcd\Downloads\cypress.zip' 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
+ CYPRESS_INSTALL_BINARY=C:\Users\abcd\Downloads\cypress.zip npm ins ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (CYPRESS_INSTALL...ads\cypress.zip:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Can anyone help me to fix this please? Thanks!