1 ---
2 title: npm-bugs
3 section: 1
4 description: Bugs for a package in a web browser maybe
5 github_repo: npm/cli
6 github_branch: release/v6
7 github_path: docs/content/commands/npm-bugs.md
8 redirect_from:
9 - /cli-documentation/v6/bugs
10 - /cli-documentation/v6/cli-commands/bugs
11 - /cli-documentation/v6/cli-commands/npm-bugs
12 - /cli-documentation/v6/commands/bugs
13 - /cli-documentation/v6/commands/npm-bugs
14 - /cli-documentation/v6/npm-bugs
15 - /cli/v6/bugs
16 - /cli/v6/cli-commands/bugs
17 - /cli/v6/cli-commands/npm-bugs
18 - /cli/v6/commands/bugs
19 - /cli/v6/npm-bugs
20 ---
21
22 ### Synopsis
23
24 ```bash
25 npm bugs [<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, 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: String
40
41 The browser that is called by the `npm bugs` command to open websites.
42
43 #### registry
44
45 - Default: https://registry.npmjs.org/
46 - Type: url
47
48 The base URL of the npm package registry.
49
50 ### See Also
51
52 - [npm docs](/cli/v6/commands/npm-docs)
53 - [npm view](/cli/v6/commands/npm-view)
54 - [npm publish](/cli/v6/commands/npm-publish)
55 - [npm registry](/cli/v6/using-npm/registry)
56 - [npm config](/cli/v6/commands/npm-config)
57 - [npmrc](/cli/v6/configuring-npm/npmrc)
58 - [package.json](/cli/v6/configuring-npm/package-json)