These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
RequirementsNode.jsYarn (v1 or v2.4.2+)GitClone the repogit clone https://github.com/excalidraw/excalidraw.gitInstall the dependenciesyarnStart the serveryarn startNow you can open http://localhost:3000 and start coding in your forite code editor.
CollaborationFor collaboration, you will need to set up collab server in local.
CommandsInstall the dependenciesyarnRun the projectyarn startReformat all files with Prettieryarn fixRun testsyarn testUpdate test snapshotsyarn test:updateTest for formatting with Prettieryarn test:codeDocker ComposeYou can use docker-compose to work on Excalidraw locally if you don't want to setup a Node.js env.
docker-compose up --build -dSelf-hostingWe publish a Docker image with the Excalidraw client at excalidraw/excalidraw. You can use it to self-host your own client under your own domain, on Kubernetes, AWS ECS, etc.
docker build -t excalidraw/excalidraw .docker run --rm -dit --name excalidraw -p 5000:80 excalidraw/excalidraw:latestThe Docker image is free of analytics and other tracking libraries.
At the moment, self-hosting your own instance doesn't support sharing or collaboration features.
We are working towards providing a full-fledged solution for self-hosting your own Excalidraw.