HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

exercism — Download coding exercises in any language and submit your solutions. More information: <https://exer

Submitted by: @import:tldr-pages··
0
Viewed 0 times
exercisescommandanylanguagecodingexercismclidownload

Problem

How to use the exercism command: Download coding exercises in any language and submit your solutions. More information: <https://exercism.org/docs/using/solving-exercises/working-locally>.

Solution

exercism — Download coding exercises in any language and submit your solutions. More information: <https://exercism.org/docs/using/solving-exercises/working-locally>.

Configure exercism following instructions for the API token:
exercism configure


Download hello-world for any programming language into exercism workspace:
exercism download --track {{programming_language}} --exercise hello-world


Open an exercise directory on the website:
exercism open {{path/to/directory}}


Test your solution. It will also tell you if you are missing tools for the programming language:
exercism test {{path/to/directory}}


Submit your solution. You can share from the website or ask a community mentor for help:
exercism submit {{path/to/directory}}

Code Snippets

Configure exercism following instructions for the API token

exercism configure

Download `hello-world` for any programming language into exercism workspace

exercism download --track {{programming_language}} --exercise hello-world

Open an exercise directory on the website

exercism open {{path/to/directory}}

Test your solution. It will also tell you if you are missing tools for the programming language

exercism test {{path/to/directory}}

Submit your solution. You can share from the website or ask a community mentor for help

exercism submit {{path/to/directory}}

Context

tldr-pages: common/exercism

Revisions (0)

No revisions yet.