This is the main repo for Darklang, a combined language, editor, and infrastructure to make it easy to build backends and CLIs.
This repo is intended to help Darklang users solve their needs by fixing bugs, expanding features, or otherwise contributing. Darklang is open source under the Apache License 2.0. See our LICENSE.md.
Note that the production version of Darklang, "Darklang-Classic", is not in this repo. Since Feb 2023, the Darklang team has been working on a new version of Darklang, which is in this repo -- temporarily, we're referring to this as "dark-next". Dark-next isn't yet ready for production use.
On Linux or macOS:
curl -fsSL https://wip.darklang.com/install | sh
That puts dark in ~/.darklang/bin and adds it to your PATH.
Or by hand, which is the way on Windows: download the file for your platform from the latest release (the release notes say which is which), decompress it, and run it from wherever you put it. On Linux x64:
gunzip darklang-alpha-*-linux-x64.gz
chmod +x darklang-alpha-*-linux-x64
./darklang-alpha-*-linux-x64
A fresh install can't touch files, the network, processes or environment variables until you
allow it; the refusal names the dark permissions allow ... command that does.
See also:
- The Discord, where most of our communication happens - join and say hi!
- Our GitHub Issues, where most work is tracked
- Darklang-Classic login and repo
- A guide for contributing to Dark
- Our guide to the repo for help browsing -- though, it's a bit outdated