Command-Line Interface (CLI)
View the CLI releases to choose and download the appropriate package for your operating system.
If you're unsure what architecture your processor has, the command
uname -m should tell you.
Extract the binary using
tar -xzvf FILENAME, e.g.
tar -xzvf exercism-linux-32bit.tgz
Place the binary in your
You will want to stick the
export PATH=$HOME/bin:$PATH line into your shell configuration. E.g. if your
bash, you could run:
echo 'export PATH=$HOME/bin:$PATH' >> ~/.bashrc
To check which shell you have, run
These are not officially supported, and sometimes (often) lag behind the latest release.
Verify that the binary was installed properly by running:
To see all the commands available to you, run
exercism without any options:
Configuring the CLI
Configure the exercism client so that it knows which account to post your solutions to:
exercism configure --key=YOUR_API_KEY
Your exercism API key can be found in your account.
By default the CLI will fetch exercises to
You can configure a different directory by passing the
exercism configure --dir=~/some/other/place
You can now continue by choosing a language.