[{"data":1,"prerenderedAt":702},["ShallowReactive",2],{"docs-page:\u002Fdocs\u002Fcli\u002Fdlx":3,"docs-pages":355},{"id":4,"title":5,"body":6,"description":326,"extension":348,"meta":349,"navigation":350,"path":351,"seo":352,"stem":353,"__hash__":354},"docs\u002Fdocs\u002Fcli\u002Fdlx.md","scpm dlx",{"type":7,"value":8,"toc":325},"minimark",[9,16,30,34,39,46,49,72,76,82,88,105,111,114,117,123,126,132,135,141,144,150,153,175,181,184,209,215,218,231,237,240,252,258,261,282,288,291,294,300,303,309,315,318],[10,11,13],"h1",{"id":12},"scpm-dlx",[14,15,5],"code",{},[17,18,19],"ul",{},[20,21,22,26,27],"li",{},[23,24,25],"strong",{},"Usage",": ",[14,28,29],{},"scpm dlx [FLAGS] [PARAMS]…",[31,32,33],"p",{},"Fetch a package into a throwaway environment and run its binary",[35,36,38],"h2",{"id":37},"arguments","Arguments",[40,41,43],"h3",{"id":42},"params",[14,44,45],{},"[PARAMS]…",[31,47,48],{},"Command (binary) to run, followed by arguments to pass through to it.",[31,50,51,52,55,56,59,60,63,64,67,68,71],{},"The first positional is the command; the rest are forwarded verbatim to the binary. Without ",[14,53,54],{},"--package",", a local ",[14,57,58],{},"node_modules\u002F.bin\u002F\u003Ccommand>"," wins when present; otherwise dlx installs into a throwaway project. Under ",[14,61,62],{},"--shell-mode","\u002F",[14,65,66],{},"-c"," the positionals are joined and evaluated by ",[14,69,70],{},"sh -c"," instead of looked up directly.",[35,73,75],{"id":74},"flags","Flags",[40,77,79],{"id":78},"c-shell-mode",[14,80,81],{},"-c --shell-mode",[31,83,84,85,87],{},"Run the assembled command line through ",[14,86,70],{},".",[31,89,90,93,94,97,98,101,102,87],{},[14,91,92],{},"\u003Cscratch>\u002Fnode_modules\u002F.bin"," is prepended to ",[14,95,96],{},"PATH",". Use this for pipelines, redirects, or env expansion (",[14,99,100],{},"scpm dlx -p cowsay -c 'cowsay hello | tr a-z A-Z'","). Mirrors ",[14,103,104],{},"pnpm dlx --shell-mode",[40,106,108],{"id":107},"p-package-package",[14,109,110],{},"-p --package… \u003CPACKAGE>",[31,112,113],{},"Install a specific package (repeatable).",[31,115,116],{},"Overrides inferring from the command.",[40,118,120],{"id":119},"frozen-lockfile",[14,121,122],{},"--frozen-lockfile",[31,124,125],{},"Error if the lockfile drifts from package.json",[40,127,129],{"id":128},"no-frozen-lockfile",[14,130,131],{},"--no-frozen-lockfile",[31,133,134],{},"Always re-resolve, even if the lockfile is up to date",[40,136,138],{"id":137},"prefer-frozen-lockfile",[14,139,140],{},"--prefer-frozen-lockfile",[31,142,143],{},"Use the lockfile when fresh, re-resolve when stale",[40,145,147],{"id":146},"fetch-retries-n",[14,148,149],{},"--fetch-retries \u003CN>",[31,151,152],{},"Number of retry attempts for failed registry fetches.",[31,154,155,156,159,160,163,164,159,167,170,171,174],{},"Overrides ",[14,157,158],{},"fetchRetries"," \u002F ",[14,161,162],{},"fetch-retries"," from ",[14,165,166],{},".npmrc",[14,168,169],{},"scpm-workspace.yaml"," when set. Pair with ",[14,172,173],{},"--fetch-timeout"," to fail fast in scripted test runs.",[40,176,178],{"id":177},"fetch-retry-factor-n",[14,179,180],{},"--fetch-retry-factor \u003CN>",[31,182,183],{},"Exponential backoff factor between retry attempts.",[31,185,155,186,159,189,163,192,159,194,196,197,200,201,204,205,208],{},[14,187,188],{},"fetchRetryFactor",[14,190,191],{},"fetch-retry-factor",[14,193,166],{},[14,195,169],{}," when set. Integer-only — the underlying ",[14,198,199],{},"FetchPolicy.retry_factor"," is ",[14,202,203],{},"u32",". Fractional values like ",[14,206,207],{},"1.5"," are rejected by clap.",[40,210,212],{"id":211},"fetch-retry-maxtimeout-ms",[14,213,214],{},"--fetch-retry-maxtimeout \u003CMS>",[31,216,217],{},"Upper bound (ms) on the computed retry backoff.",[31,219,155,220,159,223,163,226,159,228,230],{},[14,221,222],{},"fetchRetryMaxtimeout",[14,224,225],{},"fetch-retry-maxtimeout",[14,227,166],{},[14,229,169],{}," when set.",[40,232,234],{"id":233},"fetch-retry-mintimeout-ms",[14,235,236],{},"--fetch-retry-mintimeout \u003CMS>",[31,238,239],{},"Lower bound (ms) on the computed retry backoff.",[31,241,155,242,159,245,163,248,159,250,230],{},[14,243,244],{},"fetchRetryMintimeout",[14,246,247],{},"fetch-retry-mintimeout",[14,249,166],{},[14,251,169],{},[40,253,255],{"id":254},"fetch-timeout-ms",[14,256,257],{},"--fetch-timeout \u003CMS>",[31,259,260],{},"Per-request HTTP timeout in milliseconds.",[31,262,155,263,159,266,163,269,159,271,273,274,277,278,281],{},[14,264,265],{},"fetchTimeout",[14,267,268],{},"fetch-timeout",[14,270,166],{},[14,272,169],{}," when set. Applied via ",[14,275,276],{},"reqwest","'s ",[14,279,280],{},".timeout()"," so it covers headers + body together.",[40,283,285],{"id":284},"registry-url",[14,286,287],{},"--registry \u003CURL>",[31,289,290],{},"Override the default registry URL for this invocation.",[31,292,293],{},"Use this npm registry URL for package metadata, tarballs, audit requests, dist-tags, and registry writes.",[40,295,297],{"id":296},"disable-global-virtual-store",[14,298,299],{},"--disable-global-virtual-store",[31,301,302],{},"Force the shared global virtual store off for this invocation.",[31,304,305,306,87],{},"Packages are materialized inside the project's virtual store instead of symlinked from ",[14,307,308],{},"~\u002F.cache\u002Fscpm\u002Fvirtual-store\u002F",[40,310,312],{"id":311},"enable-global-virtual-store",[14,313,314],{},"--enable-global-virtual-store",[31,316,317],{},"Force the shared global virtual store on for this invocation.",[31,319,320,321,324],{},"Overrides CI's default per-project materialization and the ",[14,322,323],{},"disableGlobalVirtualStoreForPackages"," auto-disable heuristic.",{"title":326,"searchDepth":327,"depth":327,"links":328},"",2,[329,333],{"id":37,"depth":327,"text":38,"children":330},[331],{"id":42,"depth":332,"text":45},3,{"id":74,"depth":327,"text":75,"children":334},[335,336,337,338,339,340,341,342,343,344,345,346,347],{"id":78,"depth":332,"text":81},{"id":107,"depth":332,"text":110},{"id":119,"depth":332,"text":122},{"id":128,"depth":332,"text":131},{"id":137,"depth":332,"text":140},{"id":146,"depth":332,"text":149},{"id":177,"depth":332,"text":180},{"id":211,"depth":332,"text":214},{"id":233,"depth":332,"text":236},{"id":254,"depth":332,"text":257},{"id":284,"depth":332,"text":287},{"id":296,"depth":332,"text":299},{"id":311,"depth":332,"text":314},"md",{},true,"\u002Fdocs\u002Fcli\u002Fdlx",{"title":5,"description":326},"docs\u002Fcli\u002Fdlx","owdP_n5QH-BoZPiOnMBJnweNz0kXOgNSwFZ6lknjHmo",[356,359,362,365,368,371,374,377,380,383,386,389,392,395,398,401,404,407,410,413,416,419,422,425,428,431,434,437,440,443,446,449,452,455,458,461,464,467,470,471,474,477,480,483,486,489,492,495,498,501,504,507,510,513,516,519,522,525,528,531,534,537,540,543,546,549,552,555,558,561,564,567,570,573,576,579,582,585,588,591,594,597,600,603,606,609,612,615,618,621,624,627,630,633,636,639,642,645,648,651,654,657,660,663,666,669,672,675,678,681,684,687,690,693,696,699],{"path":357,"title":358},"\u002Fdocs\u002Fbenchmarks","Benchmarks",{"path":360,"title":361},"\u002Fdocs\u002Fbun-users","For bun users",{"path":363,"title":364},"\u002Fdocs\u002Fcli\u002Fadd","scpm add",{"path":366,"title":367},"\u002Fdocs\u002Fcli\u002Fapprove-builds","scpm approve-builds",{"path":369,"title":370},"\u002Fdocs\u002Fcli\u002Faudit","scpm audit",{"path":372,"title":373},"\u002Fdocs\u002Fcli\u002Fbin","scpm bin",{"path":375,"title":376},"\u002Fdocs\u002Fcli\u002Fcache","scpm cache",{"path":378,"title":379},"\u002Fdocs\u002Fcli\u002Fcache\u002Fdelete","scpm cache delete",{"path":381,"title":382},"\u002Fdocs\u002Fcli\u002Fcache\u002Flist","scpm cache list",{"path":384,"title":385},"\u002Fdocs\u002Fcli\u002Fcache\u002Flist-registries","scpm cache list-registries",{"path":387,"title":388},"\u002Fdocs\u002Fcli\u002Fcache\u002Fprune","scpm cache prune",{"path":390,"title":391},"\u002Fdocs\u002Fcli\u002Fcache\u002Fview","scpm cache view",{"path":393,"title":394},"\u002Fdocs\u002Fcli\u002Fcat-file","scpm cat-file",{"path":396,"title":397},"\u002Fdocs\u002Fcli\u002Fcat-index","scpm cat-index",{"path":399,"title":400},"\u002Fdocs\u002Fcli\u002Fcheck","scpm check",{"path":402,"title":403},"\u002Fdocs\u002Fcli\u002Fci","scpm ci",{"path":405,"title":406},"\u002Fdocs\u002Fcli\u002Fclean","scpm clean",{"path":408,"title":409},"\u002Fdocs\u002Fcli\u002Fcompletion","scpm completion",{"path":411,"title":412},"\u002Fdocs\u002Fcli\u002Fconfig","scpm config",{"path":414,"title":415},"\u002Fdocs\u002Fcli\u002Fconfig\u002Fdelete","scpm config delete",{"path":417,"title":418},"\u002Fdocs\u002Fcli\u002Fconfig\u002Fexplain","scpm config explain",{"path":420,"title":421},"\u002Fdocs\u002Fcli\u002Fconfig\u002Ffind","scpm config find",{"path":423,"title":424},"\u002Fdocs\u002Fcli\u002Fconfig\u002Fget","scpm config get",{"path":426,"title":427},"\u002Fdocs\u002Fcli\u002Fconfig\u002Flist","scpm config list",{"path":429,"title":430},"\u002Fdocs\u002Fcli\u002Fconfig\u002Fset","scpm config set",{"path":432,"title":433},"\u002Fdocs\u002Fcli\u002Fconfig\u002Ftui","scpm config tui",{"path":435,"title":436},"\u002Fdocs\u002Fcli\u002Fcreate","scpm create",{"path":438,"title":439},"\u002Fdocs\u002Fcli\u002Fdedupe","scpm dedupe",{"path":441,"title":442},"\u002Fdocs\u002Fcli\u002Fdeploy","scpm deploy",{"path":444,"title":445},"\u002Fdocs\u002Fcli\u002Fdeprecate","scpm deprecate",{"path":447,"title":448},"\u002Fdocs\u002Fcli\u002Fdeprecations","scpm deprecations",{"path":450,"title":451},"\u002Fdocs\u002Fcli\u002Fdiag","scpm diag",{"path":453,"title":454},"\u002Fdocs\u002Fcli\u002Fdiag\u002Fanalyze","scpm diag analyze",{"path":456,"title":457},"\u002Fdocs\u002Fcli\u002Fdiag\u002Fcompare","scpm diag compare",{"path":459,"title":460},"\u002Fdocs\u002Fcli\u002Fdist-tag","scpm dist-tag",{"path":462,"title":463},"\u002Fdocs\u002Fcli\u002Fdist-tag\u002Fadd","scpm dist-tag add",{"path":465,"title":466},"\u002Fdocs\u002Fcli\u002Fdist-tag\u002Fls","scpm dist-tag ls",{"path":468,"title":469},"\u002Fdocs\u002Fcli\u002Fdist-tag\u002Frm","scpm dist-tag rm",{"path":351,"title":5},{"path":472,"title":473},"\u002Fdocs\u002Fcli\u002Fdoctor","scpm doctor",{"path":475,"title":476},"\u002Fdocs\u002Fcli\u002Fexec","scpm exec",{"path":478,"title":479},"\u002Fdocs\u002Fcli\u002Ffetch","scpm fetch",{"path":481,"title":482},"\u002Fdocs\u002Fcli\u002Ffind-hash","scpm find-hash",{"path":484,"title":485},"\u002Fdocs\u002Fcli\u002Fignored-builds","scpm ignored-builds",{"path":487,"title":488},"\u002Fdocs\u002Fcli\u002Fimport","scpm import",{"path":490,"title":491},"\u002Fdocs\u002Fcli","scpm",{"path":493,"title":494},"\u002Fdocs\u002Fcli\u002Finit","scpm init",{"path":496,"title":497},"\u002Fdocs\u002Fcli\u002Finstall","scpm install",{"path":499,"title":500},"\u002Fdocs\u002Fcli\u002Flicenses","scpm licenses",{"path":502,"title":503},"\u002Fdocs\u002Fcli\u002Flink","scpm link",{"path":505,"title":506},"\u002Fdocs\u002Fcli\u002Flist","scpm list",{"path":508,"title":509},"\u002Fdocs\u002Fcli\u002Flogin","scpm login",{"path":511,"title":512},"\u002Fdocs\u002Fcli\u002Flogout","scpm logout",{"path":514,"title":515},"\u002Fdocs\u002Fcli\u002Foutdated","scpm outdated",{"path":517,"title":518},"\u002Fdocs\u002Fcli\u002Fpack","scpm pack",{"path":520,"title":521},"\u002Fdocs\u002Fcli\u002Fpatch","scpm patch",{"path":523,"title":524},"\u002Fdocs\u002Fcli\u002Fpatch-commit","scpm patch-commit",{"path":526,"title":527},"\u002Fdocs\u002Fcli\u002Fpatch-remove","scpm patch-remove",{"path":529,"title":530},"\u002Fdocs\u002Fcli\u002Fpeers","scpm peers",{"path":532,"title":533},"\u002Fdocs\u002Fcli\u002Fpeers\u002Fcheck","scpm peers check",{"path":535,"title":536},"\u002Fdocs\u002Fcli\u002Fprune","scpm prune",{"path":538,"title":539},"\u002Fdocs\u002Fcli\u002Fpublish","scpm publish",{"path":541,"title":542},"\u002Fdocs\u002Fcli\u002Fpurge","scpm purge",{"path":544,"title":545},"\u002Fdocs\u002Fcli\u002Fquery","scpm query",{"path":547,"title":548},"\u002Fdocs\u002Fcli\u002Frebuild","scpm rebuild",{"path":550,"title":551},"\u002Fdocs\u002Fcli\u002Frecursive","scpm recursive",{"path":553,"title":554},"\u002Fdocs\u002Fcli\u002Fremove","scpm remove",{"path":556,"title":557},"\u002Fdocs\u002Fcli\u002Frestart","scpm restart",{"path":559,"title":560},"\u002Fdocs\u002Fcli\u002Froot","scpm root",{"path":562,"title":563},"\u002Fdocs\u002Fcli\u002Frun","scpm run",{"path":565,"title":566},"\u002Fdocs\u002Fcli\u002Fsbom","scpm sbom",{"path":568,"title":569},"\u002Fdocs\u002Fcli\u002Fsponsors","scpm sponsors",{"path":571,"title":572},"\u002Fdocs\u002Fcli\u002Fstage","scpm stage",{"path":574,"title":575},"\u002Fdocs\u002Fcli\u002Fstart","scpm start",{"path":577,"title":578},"\u002Fdocs\u002Fcli\u002Fstop","scpm stop",{"path":580,"title":581},"\u002Fdocs\u002Fcli\u002Fstore","scpm store",{"path":583,"title":584},"\u002Fdocs\u002Fcli\u002Fstore\u002Fadd","scpm store add",{"path":586,"title":587},"\u002Fdocs\u002Fcli\u002Fstore\u002Fpath","scpm store path",{"path":589,"title":590},"\u002Fdocs\u002Fcli\u002Fstore\u002Fprune","scpm store prune",{"path":592,"title":593},"\u002Fdocs\u002Fcli\u002Fstore\u002Fstatus","scpm store status",{"path":595,"title":596},"\u002Fdocs\u002Fcli\u002Ftest","scpm test",{"path":598,"title":599},"\u002Fdocs\u002Fcli\u002Fundeprecate","scpm undeprecate",{"path":601,"title":602},"\u002Fdocs\u002Fcli\u002Funlink","scpm unlink",{"path":604,"title":605},"\u002Fdocs\u002Fcli\u002Funpublish","scpm unpublish",{"path":607,"title":608},"\u002Fdocs\u002Fcli\u002Fupdate","scpm update",{"path":610,"title":611},"\u002Fdocs\u002Fcli\u002Fversion","scpm version",{"path":613,"title":614},"\u002Fdocs\u002Fcli\u002Fview","scpm view",{"path":616,"title":617},"\u002Fdocs\u002Fcli\u002Fwhy","scpm why",{"path":619,"title":620},"\u002Fdocs\u002Ferror-codes","Error and warning codes",{"path":622,"title":623},"\u002Fdocs\u002Fgetting-started","Getting Started",{"path":625,"title":626},"\u002Fdocs\u002Fguide","Guide",{"path":628,"title":629},"\u002Fdocs","SCPM Documentation",{"path":631,"title":632},"\u002Fdocs\u002Finstallation","Installation",{"path":634,"title":635},"\u002Fdocs\u002Fnpm-users","For npm users",{"path":637,"title":638},"\u002Fdocs\u002Fpackage-manager\u002Fconfiguration","Configuration",{"path":640,"title":641},"\u002Fdocs\u002Fpackage-manager\u002Fdependencies","Manage dependencies",{"path":643,"title":644},"\u002Fdocs\u002Fpackage-manager\u002Fglobal-virtual-store","Global virtual store",{"path":646,"title":647},"\u002Fdocs\u002Fpackage-manager\u002Finstall","Install dependencies",{"path":649,"title":650},"\u002Fdocs\u002Fpackage-manager\u002Fjailed-builds","Jailed dependency builds",{"path":652,"title":653},"\u002Fdocs\u002Fpackage-manager\u002Flifecycle-scripts","Lifecycle scripts",{"path":655,"title":656},"\u002Fdocs\u002Fpackage-manager\u002Flockfiles","Lockfiles",{"path":658,"title":659},"\u002Fdocs\u002Fpackage-manager\u002Fnode-modules","node_modules layout",{"path":661,"title":662},"\u002Fdocs\u002Fpackage-manager\u002Fpublishing","Publishing",{"path":664,"title":665},"\u002Fdocs\u002Fpackage-manager\u002Fregistry-auth","Registry and auth",{"path":667,"title":668},"\u002Fdocs\u002Fpackage-manager\u002Fscripts","Run scripts and binaries",{"path":670,"title":671},"\u002Fdocs\u002Fpackage-manager\u002Fsecurity-scanner","Security scanner",{"path":673,"title":674},"\u002Fdocs\u002Fpackage-manager\u002Fworkspaces","Workspaces",{"path":676,"title":677},"\u002Fdocs\u002Fpnpm-users","For pnpm users",{"path":679,"title":680},"\u002Fdocs\u002Fsecurity","Security",{"path":682,"title":683},"\u002Fdocs\u002Fsettings\u002Fcli","CLI Settings",{"path":685,"title":686},"\u002Fdocs\u002Fsettings\u002Fenv","Environment Settings",{"path":688,"title":689},"\u002Fdocs\u002Fsettings","Settings",{"path":691,"title":692},"\u002Fdocs\u002Fsettings\u002Fnpmrc",".npmrc Settings",{"path":694,"title":695},"\u002Fdocs\u002Fsettings\u002Fworkspace-yaml","Workspace YAML Settings",{"path":697,"title":698},"\u002Fdocs\u002Ftroubleshooting","Troubleshooting",{"path":700,"title":701},"\u002Fdocs\u002Fyarn-users","For yarn users",1780584396936]