leetcode-cli
leetcode-cliA command-line tool for solving LeetCode problems.
A command-line tool for solving LeetCode problems.
Pick, edit, test and submit LeetCode problems by id, or work on today's daily challenge. List, stat, data and completions commands are left out.
leetcode pickPick a problem by id, name or daily challenge and print its description.
iddailyinteger · positional 0string--namestring--tagboolean--dailyleetcode editOpen a problem's code file in your editor.
idlanginteger · positional 0string--langrustpython3cppboolean--dailyleetcode testRun the sample test cases for a problem.
idwatchinteger · positional 0boolean--watchboolean--dailyleetcode execSubmit the solution for a problem.
idinteger · positional 0readmehelp2026-10readmehelp2026-10readmehelp2026-10readmehelp2026-10Before it fills your prompt, Otty checks the installed leetcode against its version. A form that does not match your version is not offered.