Use pick
to install, run, and manage your favorite versions and forks of
cgminer. Based on rbenv where a lot of
this project's code and inspiration comes from.
Pick can be automatically installed through
pick-installer
:
$ curl -sSL https://raw.github.com/gevans/pick/master/pick-installer | bash
Alternatively, pick can be installed manually:
$ git clone --recursive https://github.com/gevans/pick.git ~/.pick
$ echo '[ -d "$HOME/.pick/bin" ] && PATH="$HOME/.pick/bin:$PATH"'
# List supported miners:
$ pick install
# Install a miner:
$ pick install sgminer
# Install a specific version:
$ pick install sgminer 4.1.0
# Specify `./configure` options:
$ pick install cgminer 3.7.2 -- --enable-scrypt
# Remove a previously installed miner:
$ pick uninstall cgminer-3.7.2
Alternatively, you can look in $PICK_ROOT/versions/
and rm -rf
the directory
of the version you want to remove.
# Use the latest stable release:
$ pick use bfgminer
# Use the latest minor release:
$ pick use sgminer 4.1
# Use a specific release:
$ pick use cgminer 3.7.2
# Execute the current miner:
$ pick exec -c /path/to/config.json
# Execute the latest stable release:
$ pick exec cgminer -c /path/to/config.json
# Execute a specific release:
$ pick exec bfgminer 3.10.0 -c /path/to/config.json
# Update to the latest stable version:
$ pick update master
# Update to the latest development version:
$ pick update develop
- Fork it (http://github.com/gevans/pick/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Did this project save you time? Consider sending a beer:
BTC: 16eVffBKdDnCFahVA691ENQTyGy5cUtz95
LTC: LiFWkwWzbvdqcb6fC57sEjvCHMizgqG1Wr