mirror of
https://github.com/pnpm/pnpm.git
synced 2026-02-19 15:48:44 -05:00
36 lines
635 B
Markdown
36 lines
635 B
Markdown
# @pnpm/mount-modules
|
|
|
|
> Mounts a node_modules directory with FUSE
|
|
|
|
[](https://www.npmjs.com/package/@pnpm/mount-modules)
|
|
|
|
## Installation
|
|
|
|
```
|
|
pnpm add @pnpm/mount-modules --global
|
|
```
|
|
|
|
## Usage
|
|
|
|
Before mounting the modules directory, all the packages should be fetched to the store. This can be done by running:
|
|
|
|
```
|
|
pnpm install --lockfile-only
|
|
```
|
|
|
|
Once the packages are in the store, run:
|
|
|
|
```
|
|
mount-modules
|
|
```
|
|
|
|
If something goes wrong and the modules directory will be not accessible, unmount it using:
|
|
|
|
```
|
|
unmount <path to node_modules>
|
|
```
|
|
|
|
## License
|
|
|
|
MIT
|