Linux 出现-bash: grunt: command not found 错误解决
来源:互联网 发布:java office转换成pdf 编辑:程序博客网 时间:2024/06/10 06:00
1、安装grunt
npm install -g grunt-cli
2、使用命令
[root@localhost ~]# grunt -version-bash: grunt: command not found
3、分析
如果一些程序没有安装在系统默认的路径(ie /bin/, /usr/bin, /usr/local/bin/ )里面,这个时候普通用户想要调用这些命令,必须设定路径。
[root@localhost ~]# vi ~/.bash_profile# .bash_profile# Get the aliases and functionsif [ -f ~/.bashrc ]; then . ~/.bashrcfi# User specific environment and startup programsPATH=$PATH:$HOME/bin:/usr/local/src/node-v8.2.1-linux-x86/binexport PATH
阅读全文
0 0
- Linux 出现-bash: grunt: command not found 错误解决
- 虚拟机linux环境下编译程序时出现 bash:gcc:command not found的解决
- bash: groupadd: command not found 错误解决[转]
- 解决scp时报bash: scp: command not found的错误
- centos解决bash: service: command not found 错误
- Linux:-bash: ***: command not found,
- Linux:-bash: ***: command not found
- Linux:-bash: ***: command not found
- Linux:-bash: ***: command not found
- Linux:-bash: ***: command not found
- linux bash command not found
- Linux useradd命令执行,出现 bash:useradd:command not found
- 错误:-bash: phpstudy: command not found(linux phpStudy)
- 解决linux下"bash:shutdown:command not found"的解决方法
- Linux学习29_解决bash: 命令: command not found
- Linux解决bash: mysql: command not found 的方法
- 解决Linux -bash: rz(或者是sz): command not found
- 出现 -bash: setup: command not found
- CodeForces
- 机器学习实战学习笔记(一)分类—kNN算法(python3实现)
- 利用集合模拟斗地主(2)
- Type interface com.mybatis.mapper.StudentMapper is not known to the MapperRegistry
- 你必须知道的261个Java语言问题笔记- Java流和文件操作2
- Linux 出现-bash: grunt: command not found 错误解决
- mysql5.7安装之后,mysqladmin无法设置root密码
- Codeforces Round #408 Div.2 A B C D
- js中的事件onchange案例
- Hadoop(4-2)-MapReduce程序案例-WordCount(Intellij Idea环境)
- spring boot:No converter found for return value of type: class另类解决办法
- ubuntu16.04安装qt5
- Leetcode655. Print Binary Tree
- codeforces 339D 简单的线段树操作