Skip to content

Instantly share code, notes, and snippets.

@danpetitt
Last active March 18, 2021 12:13
Show Gist options
  • Save danpetitt/fb7f3a2180dee2b12d1e7b11c97f5a2a to your computer and use it in GitHub Desktop.
Save danpetitt/fb7f3a2180dee2b12d1e7b11c97f5a2a to your computer and use it in GitHub Desktop.
Installing ADR Tools in WSL in Windows

Installing ADR Tools into WSL in Windows

  • Download the latest tools from adr-tools releases page
  • Extract the src folder and rename it to adr-tools, put it somewhere you can easily get to (c:\projects for example)
  • Open up your Ubuntu WSL image bash shell in Windows Terminal
  • Execute following commands:
cd /usr/local/bin/
sudo mkdir adr-tools
cd adr-tools
sudo cp -fr /mnt/c/projects/adr-tools/* ./
PATH="$PATH:/usr/local/bin/adr-tools"

You should now be able to issue adr commands.

If you want to specify a different directory for the adr docs than doc/adr, create a file in the project root called .adr-dir and specify the new folder like Documents/adr and save as LF only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment