Unable to locate package shellcheck – circleci

QuestionsCategory: QuestionsUnable to locate package shellcheck – circleci
Chetan Kapoor Staff asked 5 years ago

While testing bash script on circleci it can’t find shellcheck.

1 Answers
Chetan Kapoor Staff answered 5 years ago

Use the following command to install shellcheck on Ubuntu:

or add these commands as pre dependencies in circle.yml.

– sudo apt-add-repository “deb trusty-backports main restricted universe”
– sudo apt-get update
– sudo apt-get install -t trusty-backports shellcheck

48-Hour Flash Sale! Courses from just $10.99