简体   繁体   中英

cucumber: command not found (in Mac OS)

I've tried installing Cucumber using:

npm install -g cucumber

and

brew install cucumber-cpp

In both cases it looks as it is installed successfully but when I try to run cucumber command I get:

-bash: cucumber: command not found

I say be missing something. Please help!

It finally worked using gem install cucumber.

It is also necessary to close the terminal and open a new one.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM