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