1 ---
2 title: npm-bugs
3 section: 1
4 description: Report bugs for a package in a web browser
5 github_repo: npm/cli
6 github_branch: release/v7
7 github_path: docs/content/commands/npm-bugs.md
8 redirect_from:
9 - /cli-documentation/v7/bugs
10 - /cli-documentation/v7/cli-commands/bugs
11 - /cli-documentation/v7/cli-commands/npm-bugs
12 - /cli-documentation/v7/commands/bugs
13 - /cli-documentation/v7/commands/npm-bugs
14 - /cli-documentation/v7/npm-bugs
15 - /cli/v7/bugs
16 - /cli/v7/cli-commands/bugs
17 - /cli/v7/cli-commands/npm-bugs
18 - /cli/v7/commands/bugs
19 - /cli/v7/npm-bugs
20 ---
21
22 ### Synopsis
23
24 ```bash
25 npm bugs [<pkgname> [<pkgname> ...]]
26
27 aliases: issues
28 ```
29
30 ### Description
31
32 This command tries to guess at the likely location of a package's bug tracker URL or the `mailto` URL of the support email, and then tries to open it using the `--browser` config param. If no package name is provided, it will search for a `package.json` in the current folder and use the `name` property.
33
34 ### Configuration
35
36 #### `browser`
37
38 - Default: OS X: `"open"`, Windows: `"start"`, Others: `"xdg-open"`
39 - Type: null, Boolean, or String
40
41 The browser that is called by npm commands to open websites.
42
43 Set to `false` to suppress browser behavior and instead print urls to terminal.
44
45 Set to `true` to use default system URL opener.
46
47 #### `registry`
48
49 - Default: "https://registry.npmjs.org/"
50 - Type: URL
51
52 The base URL of the npm registry.
53
54 ### See Also
55
56 - [npm docs](/cli/v7/commands/npm-docs)
57 - [npm view](/cli/v7/commands/npm-view)
58 - [npm publish](/cli/v7/commands/npm-publish)
59 - [npm registry](/cli/v7/using-npm/registry)
60 - [npm config](/cli/v7/commands/npm-config)
61 - [npmrc](/cli/v7/configuring-npm/npmrc)
62 - [package.json](/cli/v7/configuring-npm/package-json)