OK, my friends, we are off to our very last up here, so we're going to execute and publish inside
of our project directory.
Notice that this is not publish, it is not NPM, run, publish.
So there's no run in this.
In order to run and publish, you do have to be logged into the CLI if you are not logged in or if you
get a message about not being logged in.
All you have to do is an NPM log in command and then you'll be prompted to enter in your NPM login credentials.
If you don't have an account, no problem.
You can create one at NPM, just dotcom.
So once you are all logged in, will then do a simple NPM publish.
Well, then immediately see our project get built and then pushed off to the NPM registry, that looks
like we have deployed this package.
Now, if we want to, we could very easily run it from our terminal.
So I'm going to do.
And Northparkes Hyne.
NPM deploy.
So that will download all the source code for our package from the registry and then run that package
on our local machine and as you can see very easily, we are, in fact listening on PT. three thousand
and five, which is exactly what we want.
OK, so this looks pretty good.
Now, the other thing we could do here very easily, we could install this as a global package so we
could do a and install dash any NPM deploy if you run this command to get a permission error, that's
totally fine.
Just rely upon the variant.
But if you are able to run the dog now, we could just do a direct ayni and deploy and we would be ready
to go.
OK, so that is it, we have now deployed or published a package up to the registry and as you can see,
there are many steps we have to go through.
We're going to take a pause here.
We're then going to go back over to our real project and we're going to run through all these different
steps for our three different packages.
So let's take a pause here and then get to it.