mirror of
https://github.com/pnpm/pnpm.git
synced 2026-02-02 11:12:58 -05:00
The following command will install Node.js (inspired by [poetry](https://python-poetry.org/docs/managing-environments/)): ``` pnpm env use --global 16.5.0 ```
6 lines
154 B
TypeScript
6 lines
154 B
TypeScript
import { node } from '@pnpm/plugin-commands-env'
|
|
|
|
test('check API (placeholder test)', async () => {
|
|
expect(typeof node.getNodeDir).toBe('function')
|
|
})
|