# Pull from npmrepository without auth

**URL:** <https://community.sonatype.com/t/pull-from-npmrepository-without-auth/6123>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository, npm\
**Created:** [March 19, 2021, 1:05pm UTC](https://community.sonatype.com/t/pull-from-npmrepository-without-auth/6123 "2021-03-19T13:05:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bezpalko1987](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/bezpalko1987/32/1325_2.png) [@bezpalko1987](https://community.sonatype.com/u/bezpalko1987)\
**Post date:** [March 19, 2021, 1:05pm UTC](https://community.sonatype.com/t/pull-from-npmrepository-without-auth/6123/1 "2021-03-19T13:05:30Z")

</div>

Hello 👋 I have created an npm repository and our devs are asking if it is possible to pull npm from the repo without npm login or npm adduser?

---

<div class="post-metadata">

**Author:** ![rseddon](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/rseddon/32/341_2.png) [@rseddon](https://community.sonatype.com/u/rseddon)\
**Post date:** [March 23, 2021, 2:39pm UTC](https://community.sonatype.com/t/pull-from-npmrepository-without-auth/6123/3 "2021-03-23T14:39:14Z")

</div>

Make sure anonymous access is enabled for the instance, and also ensure that the anonymous user has a role assigned to them that allows nx-repository-view…read privilege for the repository. The default nx-anonymous role allows for read of all repositories.

[https://help.sonatype.com/display/NXRM3/Anonymous+Access](https://help.sonatype.com/display/NXRM3/Anonymous+Access)
