dojoup
Update or revert to a specific Dojo branch with ease.
Installing
curl -L https://install.dojoengine.org | bashUsage
To install latest stable version:
dojoupNote: You may have to install
jqto usedojoup. You can do so with the following commands:
# Debian
sudo apt-get install jq
# Mac
brew install jqTo install a specific version (in this case the nightly version):
dojoup --version nightlyTo install a specific branch (in this case the release/0.1.0 branch's latest commit):
dojoup --branch release/0.1.0To install a fork's main branch (in this case tarrencev/dojo's main branch):
dojoup --repo tarrencev/dojoTo 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-10To install from a specific Pull Request:
dojoup --pr 1071To install from a specific commit:
dojoup -c 94bfdb2To 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/dojoTip: 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.