npm 中 prisma cli 安装在哪里
在我阅读 prisma 文章后,我可以执行 npm install prisma --save-dev 和 npx prisma。在那之后, 我搜索了 prisma cli 的安装位置。 多个 cli 具有从
node_modules/.bin
到其实际文件的符号链接,因此我在此目录中搜索 prisma
但找不到。 prisma cli
安装在哪里?
~/test/src/test% ls -ltr node_modules/.bin
total 0
lrwxrwxrwx 1 hikarmiy amazon 17 Jan 28 03:08 ts-jest -> ../ts-jest/cli.js
lrwxrwxrwx 1 hikarmiy amazon 27 Jan 28 03:08 prettier -> ../prettier/bin-prettier.js
lrwxrwxrwx 1 hikarmiy amazon 15 Jan 28 03:08 lerna -> ../lerna/cli.js
lrwxrwxrwx 1 hikarmiy amazon 21 Feb 1 04:42 npx -> ../npm/bin/npx-cli.js
lrwxrwxrwx 1 hikarmiy amazon 45 Feb 1 04:42 npm-install-peers -> ../npm-install-peers/bin/npm-install-peers.js
lrwxrwxrwx 1 hikarmiy amazon 21 Feb 1 04:42 npm -> ../npm/bin/npm-cli.js
lrwxrwxrwx 1 hikarmiy amazon 26 Feb 1 09:06 tsserver -> ../typescript/bin/tsserver
lrwxrwxrwx 1 hikarmiy amazon 21 Feb 1 09:06 tsc -> ../typescript/bin/tsc
谢谢
After I read prisma article,I can execute npm install prisma --save-dev
and npx prisma
. After that,
I searched where prisma
cli was installed.
multiple cli has symbolic link from node_modules/.bin
to its actual file,so I searchprisma
in this directory but it couldn't be found. where is prisma cli
installed ?
~/test/src/test% ls -ltr node_modules/.bin
total 0
lrwxrwxrwx 1 hikarmiy amazon 17 Jan 28 03:08 ts-jest -> ../ts-jest/cli.js
lrwxrwxrwx 1 hikarmiy amazon 27 Jan 28 03:08 prettier -> ../prettier/bin-prettier.js
lrwxrwxrwx 1 hikarmiy amazon 15 Jan 28 03:08 lerna -> ../lerna/cli.js
lrwxrwxrwx 1 hikarmiy amazon 21 Feb 1 04:42 npx -> ../npm/bin/npx-cli.js
lrwxrwxrwx 1 hikarmiy amazon 45 Feb 1 04:42 npm-install-peers -> ../npm-install-peers/bin/npm-install-peers.js
lrwxrwxrwx 1 hikarmiy amazon 21 Feb 1 04:42 npm -> ../npm/bin/npm-cli.js
lrwxrwxrwx 1 hikarmiy amazon 26 Feb 1 09:06 tsserver -> ../typescript/bin/tsserver
lrwxrwxrwx 1 hikarmiy amazon 21 Feb 1 09:06 tsc -> ../typescript/bin/tsc
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论