CircleCI 2.0 -> /bin/bash: bash: command not found


#1

In circle CI build I am trying to install nvm as follows:

#!/bin/bash -eo pipefail
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
/bin/bash: curl: command not found
/bin/bash: bash: command not found

Please help


#2

(Would you amend your post to add Markdown block formatting please? To do so, (1) edit your post, (2) select your code/config, (3) click the code button, (4) re-save the post. This makes the formatting readable, and allows readers to check indentation. I may be able to help, but I ask that posts are made readable first. Thanks).


#3

Are you using machine or docker executor? Could you give us a build link to take a look? This will not expose any code, and only CircleCI employees will be able to view.


#4

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.