1. Install or upgrade npm install -g code-push-cli
View the detailed installation log: npm install -g code-push-cli --verbose
2, View the current session login account information code-push whoami
3, Register: code-push registrar
This command will open the following registration address, log in with the github account here
https://codepush-management.azurewebsites.net/auth/register?hostname=bogon
My access key : flsUq94MWBsikM1zFZoh92D************
4, login: code-push login
Open the webpage, display the key after logging in, and enter the key value in the command line.
5. Logout: code-push logout
6, Add application: code-push app add emilyzskqA
7, 查看appkey:code-push deployment ls emilyzskqA -k