https://github.com/node-modules/install-node
Install node into node_modules
https://github.com/node-modules/install-node
Last synced: 11 days ago
JSON representation
Install node into node_modules
- Host: GitHub
- URL: https://github.com/node-modules/install-node
- Owner: node-modules
- License: mit
- Created: 2016-08-25T16:42:46.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T22:59:20.000Z (over 2 years ago)
- Last Synced: 2025-06-05T05:52:11.277Z (20 days ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 8
- Watchers: 12
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# install-node
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm download][download-image]][download-url][npm-image]: https://img.shields.io/npm/v/install-node.svg?style=flat-square
[npm-url]: https://npmjs.org/package/install-node
[travis-image]: https://img.shields.io/travis/node-modules/install-node.svg?style=flat-square
[travis-url]: https://travis-ci.org/node-modules/install-node
[codecov-image]: https://codecov.io/gh/node-modules/install-node/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/node-modules/install-node
[david-image]: https://img.shields.io/david/node-modules/install-node.svg?style=flat-square
[david-url]: https://david-dm.org/node-modules/install-node
[snyk-image]: https://snyk.io/test/npm/install-node/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/install-node
[download-image]: https://img.shields.io/npm/dm/install-node.svg?style=flat-square
[download-url]: https://npmjs.org/package/install-nodeInstall node into node_modules.
---
## Install
```bash
$ npm i install-node -g
```## Usage
Add `engines['install-node'] = ${version}` on your application's `package.json`:
```js
"engines": {
"install-node": "^4.5.0"
}
```- `${version}` follow semver, can be `4.5.0`, `~4.5.0` or `^4.5.0`.
Then run `install-node` command:
```bash
$ install-node
```Now you can see `node` on `node_modules/.bin/node`.
```bash
$ ll node_modules/.bin/node
node_modules/.bin/node@ -> ../node/bin/node
```## License
[MIT](LICENSE)