Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Powershell-NPM integration

branch: master
README.md

posh-npm

A set of PowerShell scripts which provide npm/PowerShell integration

Tab completion

Provides tab completion for commands when using npm.
E.g. npm ins<tab> --> npm install

Usage

See profile.example.ps1 as to how you can integrate the tab completion into your own profile.

If you have psget installed, you can install posh-npm like using the following command:

install-module posh-npm

Installing

  1. Verify you have PowerShell 2.0 or better with $PSVersionTable.PSVersion

  2. Verify execution of scripts is allowed with Get-ExecutionPolicy (should be RemoteSigned or Unrestricted). If scripts are not enabled, run PowerShell as Administrator and call Set-ExecutionPolicy RemoteSigned -Confirm.

  3. Verify that npm can be run from PowerShell. If the command is not found, you will need to install nodejs.

  4. Clone the posh-npm repository to your local machine.

  5. From the posh-npm repository directory, run powershell ./install.ps1. If you are in powershell, run ./install.ps1 and then . $PROFILE.

Acknowledgements

The powershell integration and installation is based on posh-git. https://github.com/dahlbyk/posh-git

Something went wrong with that request. Please try again.