How to publish addons and install them with ember install

Hi, Is there a fine looking documentation about publishing ember addons. I want to publish and then install with ember install addon not npm install.

Also, It is strange that when building an addon I can run tests, but when I want to run tests in a project I get errors about ‘ember-metal’ (Ember run tests in console - #3 by ioanszabo) I got this errors even when the project is new.

Thanks. I did not reach this site for some time.