A command-line tool for practicing coding challenges locally. Write solutions in Go, JavaScript, TypeScript, or Python and test them against the same test cases used in the online platform CodeQuest.
codequest-cli.mp4
- Multi-language support: Go, JavaScript, TypeScript, and Python
- Local testing: Run tests without Docker - just needs Go, Node.js, and/or Python
- Offline practice: Download challenges and work on them locally
- Fast execution: Native runtime execution for quick feedback
- Same test cases: Uses identical test cases as the web platform
One-line installer (Linux/macOS):
curl -fsSL https://raw.githubusercontent.com/crisecheverria/codequest/main/install.sh | bashDownload the latest binary from the releases page:
For macOS (Intel):
curl -L https://github.com/crisecheverria/codequest/releases/latest/download/codequest-darwin-amd64 -o codequest
chmod +x codequest
sudo mv codequest /usr/local/bin/For macOS (M1/M2):
curl -L https://github.com/crisecheverria/codequest/releases/latest/download/codequest-darwin-arm64 -o codequest
chmod +x codequest
sudo mv codequest /usr/local/bin/For Linux (AMD64):
curl -L https://github.com/crisecheverria/codequest/releases/latest/download/codequest-linux-amd64 -o codequest
chmod +x codequest
sudo mv codequest /usr/local/bin/For Linux (ARM64):
curl -L https://github.com/crisecheverria/codequest/releases/latest/download/codequest-linux-arm64 -o codequest
chmod +x codequest
sudo mv codequest /usr/local/bin/For Windows: Download codequest-windows-amd64.exe and add it to your PATH.
go install github.com/crisecheverria/codequest@latest- Go 1.23+ (for Go challenges)
- Node.js 18+ (for JavaScript/TypeScript challenges)
- Python 3.8+ (for Python challenges)
codequest list
codequest list --language python --difficulty easy
codequest list --language go --difficulty mediumcodequest fetch challenge-slug
cd challenge-slugcodequest test# List challenges
codequest list --language python
# Download a challenge
codequest fetch python-list-comprehension
# Move to the challenge directory
cd challenge-python-list-comprehension
# Edit the solution file
vim solution.py
# Test your solution
codequest test- Go: Full support with native
go runexecution - JavaScript: Full support with Node.js execution
- TypeScript: Basic support with type annotation removal
- Python: Full support with native
python3execution
Each challenge creates a workspace with:
solution.go/solution.js/solution.py- Your solution fileREADME.md- Challenge description and examples.challenge.json- Challenge metadata (don't modify)
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
MIT License - see LICENSE file for details