From 8636c8d3d63482281a913aa4586ee8ac09d5187f Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 27 Sep 2013 12:25:44 -0700 Subject: [PATCH] Add initial publishing docs Closes #872 --- docs/creating-a-package.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/creating-a-package.md b/docs/creating-a-package.md index be72a8ae2..27dd4d7d3 100644 --- a/docs/creating-a-package.md +++ b/docs/creating-a-package.md @@ -24,6 +24,24 @@ my-package/ index.coffee ``` +## Publishing + +Atom bundles a command line utility called [apm](http://github.com/atom/apm) +which can be used to publish Atom packages to the public registry. + +Once your package is written and ready for distribution you can run the +following to publish your package: + +```sh +cd my-package +apm publish +``` + +This will upload your package and it will now be available on [atom.io](http://atom.io). + +Run `apm help publish` to see all the available options and `apm help` to see +all the other available commands. + ## package.json Similar to [npm packages][npm], Atom packages