---
title: "DotSlash: Simplified executable deployment"
description: "DotSlash, now open source and written in Rust, replaces platform-specific executables in source control with a small text file (shebang `#!/usr/bin/env dotslash` plus a lenient-JSON manifest) listing per-platform size, hash, format and providers."
url: "https://swe.quest/articles/dotslash-simplified-executable-deployment-e29283bb97f83f66"
canonical: "https://engineering.fb.com/2024/02/06/developer-tools/dotslash-simplified-executable-deployment/"
source: "Meta Engineering"
published: "2024-02-06"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 13
tags: ["developer-tools","build-systems","rust","ci-cd","version-control"]
---

# DotSlash: Simplified executable deployment

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2024-02-06, 13 min read, Announcement. Original: [https://engineering.fb.com/2024/02/06/developer-tools/dotslash-simplified-executable-deployment/](https://engineering.fb.com/2024/02/06/developer-tools/dotslash-simplified-executable-deployment/)

## Summary

DotSlash, now open source and written in Rust, replaces platform-specific executables in source control with a small text file (shebang \`#!/usr/bin/env dotslash\` plus a lenient-JSON manifest) listing per-platform size, hash, format and providers. On execution it hashes the platform entry to a cache key, tries to exec the cached binary, and on ENOENT fetches, verifies (BLAKE3/SHA-256), decompresses and atomically moves the artifact into the cache, using advisory locks to dedupe concurrent fetches. Multiple DotSlash files can share one archive (e.g. node/npm/npx), and at Meta CI automatically builds, publishes and commits DotSlash files with provenance metadata; a GitHub Action and GitHub-releases provider bring the same workflow outside Meta.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [Build systems](https://swe.quest/tags/build-systems.md) (Engineering practices)
- [Rust](https://swe.quest/tags/rust.md) (Languages)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [Version control](https://swe.quest/tags/version-control.md) (Engineering practices)

## Prerequisites

- Unix shebang and exec
- monorepos
- CI release workflows ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))

## Keywords

DotSlash, Buck2, BLAKE3, GitHub Actions, Sapling, Chef

## Related posts

- [How the creator of Homebrew simplifies distributing software with tea and Deno](https://swe.quest/articles/how-the-creator-of-homebrew-simplifies-distributing-software-with-tea-and-deno-e9ec4cd1e9a620fe.md): Deno · 2023-07-25 · Easy · 3 min read · JavaScript, TypeScript, CI/CD, Build systems, Developer tools
  tea, Max Howell's successor to Homebrew, is written in TypeScript and shipped as a single executable via \`deno compile\`, avoiding the Node install / npm install friction of distributing JS tools.
- [Tangle: An open-source ML experimentation platform built at Shopify scale](https://swe.quest/articles/tangle-an-open-source-ml-experimentation-platform-built-at-shopify-scale-07b63a998f39f803.md): Shopify Engineering · 2025-12-05 · Medium · 11 min read · ML platforms, Caching, Data pipelines, Open source, Multi-tenancy
  Tangle is Shopify's newly open-sourced ML experimentation platform: users build pipelines visually as DAGs of containerized CLI components defined in YAML, so components can be written in any language and run on any cloud or locally.
- [BuildRock: A Build Platform at Slack](https://swe.quest/articles/buildrock-a-build-platform-at-slack-c8b3b87d529426f6.md): Slack Engineering · 2022-08-31 · Medium · 10 min read · CI/CD, Kubernetes, Infrastructure as code, Build systems, Developer productivity
  Slack consolidated its sprawling, hand-managed "snowflake" Jenkins clusters into BuildRock, a build-as-a-service platform.
- [Build better software to build software better](https://swe.quest/articles/build-better-software-to-build-software-better-5c6078f2e1d6c4da.md): Slack Engineering · 2025-11-06 · Medium · 17 min read · Build systems, Developer productivity, CI/CD, Refactoring & migrations, Caching
  Slack cut the 60-minute build pipeline for Quip and Slack Canvas's backend by applying classic software engineering principles (hermetic, idempotent, granular units of work and clean separation of concerns) before adopting Bazel.
- [Optimizing Our E2E Pipeline](https://swe.quest/articles/optimizing-our-e2e-pipeline-880da9c129e2726b.md): Slack Engineering · 2025-04-14 · Medium · 5 min read · CI/CD, Build systems, Testing, Developer productivity, Cost optimization
  Slack cut redundant frontend builds in its monorepo E2E pipeline by using \`git diff\` three-dot notation against \`main\` to detect whether a PR touches frontend code, and when it doesn't, serving a recent production frontend build from S3 through an internal CDN instead of rebuilding.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
