dojoup
Update or revert to a specific Dojo branch with ease.
Installing
curl -L https://install.dojoengine.org | bash
Usage
To install latest stable version:
dojoup
Note: You may have to install
jq
to usedojoup
. You can do so with the following commands:
# Debian
sudo apt-get install jq
# Mac
brew install jq
To install a specific version (in this case the nightly
version):
dojoup --version nightly
To install a specific branch (in this case the release/0.1.0
branch's latest commit):
dojoup --branch release/0.1.0
To install a fork's main branch (in this case tarrencev/dojo
's main branch):
dojoup --repo tarrencev/dojo
To install a specific branch in a fork (in this case the patch-10
branch's latest commit in tarrencev/dojo
):
dojoup --repo tarrencev/dojo --branch patch-10
To install from a specific Pull Request:
dojoup --pr 1071
To install from a specific commit:
dojoup -c 94bfdb2
To install a local directory or repository (e.g. one located at ~/git/dojo
, assuming you're in the home directory)
Note: --branch, --repo, and --version flags are ignored during local installations.
dojoup --path ./git/dojo
Tip: All flags have a single character shorthand equivalent! You can use -v
instead of --version
, etc.
Precompiled binaries
Precompiled binaries are available from the GitHub releases page. These are better managed by using Dojoup.
âšī¸ Note
If you're on Windows, you will need to install and use Git BASH or WSL, as your terminal, since Dojoup currently does not support Powershell or Cmd.