Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

Whoa, shaun-and-derick-how-to-publish-to-npm does not exist yet

But that means it is now yours!

$ mkdir shaun-and-derick-how-to-publish-to-npm
$ cd shaun-and-derick-how-to-publish-to-npm
$ yarn init

Make your package

$ yarn publish