darklang/dark

Darklang main repo, including language, backend, and infra

F#

2,171

30,329 commits

updated Oct 12, 2026

See the code

README

Darklang

This is the main repo for Darklang, a combined language, editor, and infrastructure to make it easy to build backends and CLIs.

Ceasefire Now

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.

Install

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
cloud
editor
functional-programming
programming-language

darklang/dark

Darklang main repo, including language, backend, and infra

F#

2,171

30,329 commits

updated Oct 12, 2026

See the code

README

Darklang

This is the main repo for Darklang, a combined language, editor, and infrastructure to make it easy to build backends and CLIs.

Ceasefire Now

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.

Install

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
cloud
editor
functional-programming
programming-language

Project health

Overall

3.2/10

Maintained

10/10

Code review

0/10
OpenSSF Scorecard

Significant stargazers

(top 24 of 43)

Anil Madhavapeddy

1,338 followers · starred Jul 2020

Mattt

19,211 followers · starred Nov 2020

Leo Ostera

945 followers · starred Nov 2022

Michael Davis

685 followers · starred Jun 2022