---
title: "Discussion on \"How to publish a package to npm\" | Hashnode"
description: "Discussion on \"How to publish a package to npm\". If you've built a package you want to publish as a public package to npm you can follow these steps:\n\nSign up\nCreate an organisation\nChoose the following option\n\nOn the command line, navigate to the root directory of your package\n\ncd /path/to/package..."
url: "https://hashnode.com/posts/how-to-publish-a-package-to-npm/626cb894b7dcabd258e75acc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to publish a package to npm](https://e2e.utopiops.com/how-to-publish-a-package-to-npm?utm_source=hashnode&utm_medium=feed)

If you've built a package you want to publish as a public package to npm you can follow these steps: Sign up Create an organisation Choose the following option On the command line, navigate to the root directory of your package cd /path/to/package...

Apr 30, 2022 · 1 min read · e2e.utopiops.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#package](https://hashnode.com/tag/package)
-   [#npm](https://hashnode.com/tag/npm)

## Written by

[Mohsen Kamrani](https://hashnode.com/@mohsenkam)

@mohsenkam · Sydney, Australia

  
[View profile](https://hashnode.com/@mohsenkam)

building a platform to simplify building cloud native apps

Hey! I'm Mohsen, a founder, software developer, DevOps guy (but I believe in no-ops and low-ops), and an introvert turning extrovert

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
