npm - 通过 npm 安装后找不到 composer 版本
问题描述
当我跑
% npm install composer
我收到:
+ composer@4.1.0
updated 1 package and audited 901678 packages in 9.221s
37 packages are looking for funding
run `npm fund` for details
found 9 high severity vulnerabilities
run `npm audit fix` to fix them, or `npm audit` for details
但是,当我运行时:
% composer -v
我收到:
zsh: command not found: composer
解决方案
在中手动添加作曲家供应商 bin 路径.zshrc
export PATH="$PATH:$HOME/.composer/vendor/bin"
或者
在_ _/usr/local/bin
或者
请运行这个brew install composer
推荐阅读
- r - 如何获得欧洲防风多项逻辑回归模型的系数?
- outlook-web-addins - displayDialogAsync messageParent 在 IE11 和 Outlook 2013 中不起作用
- ios - 将图像设置为 UITableView 单元格的背景
- reactjs - 使用带有 react-hook 验证表单的引导组件
- javascript - 使用 JAVASCRIPT 生成增量 ID
- javascript - 从array1返回不在array2中的值
- algorithm - 是什么让桶排序好?
- node.js - NestJS / NodeJS / Passport / JWT - 股票当前用户
- caching - 禁用缓存拦截器
- python - 只有一小部分数据框被合并到 pandas - python