manpagez: man pages & more
man npm-edit(1)
Home | html | info | man
npm-edit(1)                                                        npm-edit(1)


NAME

       npm-edit - Edit an installed package

   Synopsis
         npm edit <pkg>[/<subpkg>...]

       Note: This command is unaware of workspaces.

   Description
       Selects a dependency in the current project and opens the package
       folder in the default editor (or whatever you've configured as the npm
       editor config -- see npm-config <npm-config>.)

       After it has been edited, the package is rebuilt so as to pick up any
       changes in compiled packages.

       For instance, you can do npm install connect to install connect into
       your package, and then npm edit connect to make a few changes to your
       locally installed copy.

   Configuration
   editor

       o   Default: The EDITOR or VISUAL environment variables, or
           '%SYSTEMROOT%\notepad.exe' on Windows, or 'vi' on Unix systems

       o   Type: String


       The command to run for npm edit and npm config edit.

   See Also

       o   npm help folders

       o   npm help explore

       o   npm help install

       o   npm help config

       o   npm help npmrc

                                   June 2023                       npm-edit(1)

npm 9.7.1 - Generated Mon Jun 12 10:04:48 CDT 2023
© manpagez.com 2000-2026
Individual documents may contain additional copyright information.