You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my Windows WSL, just run: curl -fsSL https://d2lang.com/install.sh | sh -s --:
/* installing d2-latest */
log: fetching info on latest version of terrastruct/d2
exec: curl -fL -#o /tmp/tmp.WXf69Et5A2/f8f400d1ec5cae79/release-info.json.inprogress -C- -H 'Accept: application/json' https://api.github.com/repos/terrastruct/d2/releases/latest
##O=# #
exec: mv /tmp/tmp.WXf69Et5A2/f8f400d1ec5cae79/release-info.json.inprogress /tmp/tmp.WXf69Et5A2/f8f400d1ec5cae79/release-info.json
log: skipping installation as d2 v0.6.1 is already installed.
/****************************************************************
* next steps
****************************************************************/
log: d2-v0.6.1-linux-amd64 has been successfully installed into ~/.local
log: Rerun this install script with --uninstall to uninstall.
log
log: Run d2 --help for usage.
log: Run man d2 for detailed docs.
Then when I want to convert a D2 file: d2 test.d2 test.png:
err: failed to launch Chromium: could not send message: could not send message to server:
err: ╔════════════════════════════════════════════════════════════╗
err: ║ Host system is missing a few dependencies to run browsers. ║
err: ║ Please install them with the following command: ║
err: ║ ║
err: ║ sudo npx playwright install-deps ║
err: ║ ║
err: ║ <3 Playwright Team ║
err: ╚════════════════════════════════════════════════════════════╝
The text was updated successfully, but these errors were encountered:
On my Windows WSL, just run:
curl -fsSL https://d2lang.com/install.sh | sh -s --
:Then when I want to convert a D2 file:
d2 test.d2 test.png
:The text was updated successfully, but these errors were encountered: