-
Notifications
You must be signed in to change notification settings - Fork 8k
Description
Describe the feature or problem you’d like to solve
Hello! I'd like to install gh CLI on a shared compute resource on which I do not have sudo access.
Proposed solution
Add gh CLI to conda-forge feedstock for conda package manager: https://conda-forge.org/. This way, users on shared computing resources such as high-performance compute clusters, could install gh CLI in their personal environment. conda is also a cross-platform package manager that would ease the onboarding/installation process for many users. Then the installation across multiple platforms (windows, mac, linux) could be:
conda install --channel conda-forge gh
e.g. in this documentation they show the wide variety of potential installation methods:
% brew install hmmer # OS/X, HomeBrew
% port install hmmer # OS/X, MacPorts
% apt install hmmer # Linux (Ubuntu, Debian...)
% dnf install hmmer # Linux (Fedora)
% yum install hmmer # Linux (older Fedora)
% conda install -c bioconda hmmer # Anaconda
Additional context
conda is a widely used package in the sciences, and for packages specific to the biological sciences, there is also a separate bioconda community in addition to conda-forge.
One thing I use conda extensively for is to manage environments, so that different packages are sandboxed from one another. For example, below are all my conda environments on my laptop. The way I'd use gh is to install it into the base environment, but someone may want to sandbox a particular version into a specific environment.
Details
(base)
Tue 19 May - 12:39 ~
conda env list
# conda environments:
#
/Users/olgabot/anaconda/envs/bam2fastx
/Users/olgabot/anaconda/envs/kh-tools
/Users/olgabot/anaconda/envs/khmer
/Users/olgabot/anaconda/envs/multiqc
/Users/olgabot/anaconda/envs/nf-core-tools
/Users/olgabot/anaconda/envs/reflow-workflows
/Users/olgabot/anaconda/envs/sourmash
base * /anaconda3
AGB /anaconda3/envs/AGB
aguamenti /anaconda3/envs/aguamenti
bam2fasta /anaconda3/envs/bam2fasta
bam2fastx /anaconda3/envs/bam2fastx
bioinformagician /anaconda3/envs/bioinformagician
cellranger /anaconda3/envs/cellranger
cellxgene /anaconda3/envs/cellxgene
cookiecutter /anaconda3/envs/cookiecutter
crispresso2 /anaconda3/envs/crispresso2
diamond /anaconda3/envs/diamond
dobby /anaconda3/envs/dobby
eggnog-mapper /anaconda3/envs/eggnog-mapper
eggnog-mapper-py27 /anaconda3/envs/eggnog-mapper-py27
example-python-package /anaconda3/envs/example-python-package
examplepy /anaconda3/envs/examplepy
gp-saml-gui /anaconda3/envs/gp-saml-gui
ilastik_fun /anaconda3/envs/ilastik_fun
kh-tools /anaconda3/envs/kh-tools
kh-tools--encodings--long-reads /anaconda3/envs/kh-tools--encodings--long-reads
kh-tools--encodings-compare-cli /anaconda3/envs/kh-tools--encodings-compare-cli
kh-tools--more-encodings /anaconda3/envs/kh-tools--more-encodings
kh-tools--pranathi-long-reads /anaconda3/envs/kh-tools--pranathi-long-reads
khmer /anaconda3/envs/khmer
khmer-dev /anaconda3/envs/khmer-dev
kmer-hashing /anaconda3/envs/kmer-hashing
kraken2 /anaconda3/envs/kraken2
main /anaconda3/envs/main
manubot /anaconda3/envs/manubot
multiqc /anaconda3/envs/multiqc
napari /anaconda3/envs/napari
nextflow /anaconda3/envs/nextflow
nf-core-tools /anaconda3/envs/nf-core-tools
parallel /anaconda3/envs/parallel
parallel-2.7 /anaconda3/envs/parallel-2.7
pyviz-tutorial /anaconda3/envs/pyviz-tutorial
qpcr_processing /anaconda3/envs/qpcr_processing
quast /anaconda3/envs/quast
reflow-workflows /anaconda3/envs/reflow-workflows
samtools /anaconda3/envs/samtools
sc-tutorial /anaconda3/envs/sc-tutorial
sodar_core /anaconda3/envs/sodar_core
sourmash /anaconda3/envs/sourmash
sourmash-2.7 /anaconda3/envs/sourmash-2.7
sourmash-dev /anaconda3/envs/sourmash-dev
sourmash-py364 /anaconda3/envs/sourmash-py364
utilities-env /anaconda3/envs/utilities-env
youtube /anaconda3/envs/youtube
Thank you and have a great day!