I installed the circleci CLI from snap on Ubuntu 16.04.3 using
sudo snap install docker circleci sudo snap connect circleci:docker docker
I try to validate a config file…
$ circleci config validate -c .circleci/config.yml Error: open .circleci/config.yml: no such file or directory
The file sure does exist as I used tab completion…
Much frustration later I download the circleci binary manually per alternate instructions.
curl -o /tmp/circleci https://circle-downloads.s3.amazonaws.com/releases/build_agent_wrapper/circleci
in the very same directory as the failed command above.
$ /tmp/circleci config validate -c .circleci/config.yml config file is valid