gritpack npm

Set up and check npm for the hub's npm registry

Generated from gritpack npm --helpGritpack 1.2.63
gritpack npm [OPTIONS] <COMMAND>

Commands

setup
Point npm at the hub's registry in .npmrc, without storing credentials
doctor
Check npm, its registry settings, TLS and your Gritpack login
run
Run one npm command against the hub with a short-lived credential

Options

-h, --helpPrint help

gritpack npm setup

Point npm at the hub's registry in .npmrc, without storing credentials

gritpack npm setup [OPTIONS] --registry <REGISTRY>

Options

--registry <REGISTRY>The hub's npm registry URL, normally ending in /npm
--scope <SCOPE>Route this npm scope to the registry; repeat for multiple scopes
--default-registryMake the hub's registry npm's default registry
--npmrc <NPMRC>Project or user npm configuration file to updateDefault: .npmrc
--forceReplace existing registry settings that differ
--format <FORMAT>Output format: human or jsonDefault: human · Values: human, json
--json[=<FIELDS>]Same as --format json; --json=name,version keeps only those fields
--jq <EXPRESSION>Print the JSON output through a jq expression, strings unquoted
-h, --helpPrint help

gritpack npm doctor

Check npm, its registry settings, TLS and your Gritpack login

gritpack npm doctor [OPTIONS] --registry <REGISTRY>

Options

--registry <REGISTRY>The hub's npm registry URL, normally ending in /npm
--scope <SCOPE>Scope expected to route to this registry; repeat for multiple scopes
--default-registryExpect this registry to be npm's default registry
--npmrc <NPMRC>npm configuration file to inspectDefault: .npmrc
--profile <PROFILE>Login profile used to check private access to the registry
--config <CONFIG>Profile configuration fileEnvironment: GRITPACK_CONFIG · Default: ~/.frogfish/gritpack/config.toml
--npm <NPM>npm program to checkDefault: npm
--format <FORMAT>Output format: human or jsonDefault: human · Values: human, json
--json[=<FIELDS>]Same as --format json; --json=name,version keeps only those fields
--jq <EXPRESSION>Print the JSON output through a jq expression, strings unquoted
-h, --helpPrint help

gritpack npm run

Run one npm command against the hub with a short-lived credential

gritpack npm run [OPTIONS] --registry <REGISTRY> --profile <PROFILE> -- <ARGUMENTS>...

Arguments

<ARGUMENTS>...npm command and its arguments, such as install @scope/name

Options

--registry <REGISTRY>The hub's npm registry URL, normally ending in /npm
--profile <PROFILE>Login profile used to make the short-lived credential
--config <CONFIG>Profile configuration fileEnvironment: GRITPACK_CONFIG · Default: ~/.frogfish/gritpack/config.toml
--npm <NPM>npm program to runDefault: npm
-h, --helpPrint help