Skip to content

build: Accept optional name argument with make install? #20033

@AyushG3112

Description

@AyushG3112
  • Version: master

Can we accept another argument with make install?

It would help when we have a default global(system?) installation of node, and we want to build from source and install globally along with that.

The argument would help us do something like:

$ [sudo] make install NAME=node10
$ node10 -v // use it via the name provided
$ node -v // works with the default globally installed version

If the argument is not provided, default to node

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions