npm范围的包和powershell

npm范围的包和powershell,powershell,npm,Powershell,Npm,我想安装新的npm软件包,但它似乎是一个范围有限的软件包,我不知道如何在windows下管理它。@符号似乎与powershell有关 npm install --save @angular2-material/{core} Unrecognized token in source text. At line:1 char:20 + npm install --save <<<< @angular2-material/{core} +

我想安装新的npm软件包,但它似乎是一个范围有限的软件包,我不知道如何在windows下管理它。@符号似乎与powershell有关

npm install --save @angular2-material/{core} 

Unrecognized token in source text.
    At line:1 char:20
    + npm install --save  <<<< @angular2-material/{core}
        + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
        + FullyQualifiedErrorId : UnrecognizedToken
npm安装--save@angular2 material/{core}
源文本中无法识别的标记。
第1行字符:20
+npm安装--保存确定,找到。。

它需要Powershell 3.0才能对范围内的包使用@-符号。

如果不能或不想更新到Powershell 3.0+,可以使用反勾号(`)转义@符号:


npm安装“@angular2 material/{core}