Skip to content

Instantly share code, notes, and snippets.

@dburriss
Created September 25, 2018 18:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dburriss/c0c788a098a49f903a9e1ab74650189d to your computer and use it in GitHub Desktop.
Save dburriss/c0c788a098a49f903a9e1ab74650189d to your computer and use it in GitHub Desktop.
Installs adr-tools on Windows Ubuntu Bash
wget https://github.com/npryce/adr-tools/archive/3.0.0.tar.gz
tar -xf 3.0.0.tar.gz
export PATH="$PATH:~/adr-tools-3.0.0/src/"
source ~/.profile
@dburriss
Copy link
Author

To save permanently to ~/.profile

nano ~/.profile
Add to end of file export PATH="$PATH:~/adr-tools-3.0.0/src/"
Ctrl+o to save, then Enter
Ctrl+Shift+X to exit
source ~/.profile to reload the profile in current session

@dburriss
Copy link
Author

dburriss commented Sep 27, 2018

If you are using *Git Bash you can install with the following:
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "iex (Invoke-WebRequest 'https://gist.githubusercontent.com/dburriss/0f5253f6b2f465c3f81ac830cbf92e1e/raw/4f086f4fe3376e91150cafd86ed9f066b3256548/Install-ADR-to-gitbash.ps1')"

This just executes this gist https://gist.github.com/dburriss/0f5253f6b2f465c3f81ac830cbf92e1e

Note: Requires to run as Administrator

@dburriss
Copy link
Author

dburriss commented Oct 16, 2018

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