• Log inStart now

On August 31, 2024, we're EOLing developer.newrelic.com. All relevant content has been migrated to docs.newrelic.com.

New Relic One CLI subscription commands

To manage your Nerdpack subscriptions, use the commands below. You can click any command to see its usage options and additional details about the command.


CommandDescription
nr1 subscription:setSubscribes your account to a Nerdpack and channel.
nr1 subscription:listLists all the Nerdpacks your account is subscribed to.
nr1 subscription:unsetUnsubscribes your account from a Nerdpack.

Command details


nr1 subscription:set

Subscribe to a Nerdpack

Subscribes your account to a specific Nerdpack and channel. This command can be run with a Nerdpack UUID or within a specific Nerdpack folder. By default, the command uses the Nerdpack ID in package.json and subscribes to the STABLE channel.

An account can only be subscribed to one Nerdpack and channel at a time.

Usage

$ nr1 subscription:set

Options

-i, --nerdpack-id=NERDPACK_IDSpecifies the Nerdpack to subscribe to. By default, the command will use the one in package.json.
-c, --channel=DEV/BETA/STABLESpecifies the channel to subscribe to. [default: STABLE]
--profile=PROFILEThe authentication profile you want to use.
--verboseAdds extra information to the output.

Aliases

  • $ nr1 nerdpack:subscribe


nr1 subscription:list

See your subscription

Lists all the Nerdpacks your account is subscribed to. Your account is linked to your API key.

Usage

$ nr1 subscription:list

Options

--profile=PROFILEThe authentication profile you want to use.
--verboseAdds extra information to the output.


nr1 subscription:unset

Unsubscribe from a Nerdpack

Unsubscribes your account from a specific Nerdpack. When this command is executed within a Nerdpack folder, the Nerdpack ID from package.json is used by default.

Usage

$ nr1 subscription:unset

Options

-i, --nerdpack-id=NERDPACK_IDSpecifies the Nerdpack to subscribe to. By default, the command will use the one in package.json.
--profile=PROFILEThe authentication profile you want to use.
--verboseAdds extra information to the output.

Aliases

  • $ nr1 nerdpack:unsubscribe
  • $ nr1 subscription:delete
  • $ nr1 subscription:remove
  • $ nr1 subscription:rm
Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.