yarn login

yarn login

Store registry username and email.

yarn login

Running this command will prompt you for your username and email for the npm registry. It will not ask for your password. Later when you run a command that requires authentication such as yarn publish, you will have to enter your password to do so.

yarn login
yarn login vx.x.x
question npm username: my-username
question npm email: my-username@example.com
✨  Done in 6.03s.

Using yarn logout you can delete your username and email.

© 2016–2017 Yarn Contributors
Licensed under the BSD License.
https://yarnpkg.com/en/docs/cli/login

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部