Giter VIP home page Giter VIP logo

Comments (6)

nevalla avatar nevalla commented on September 28, 2024 1

Meanwhile you can download pharos-cluster binary manually by following these instructions: https://pharos.sh/docs/tools/pharos.html#other-installation-methods

You might want to rename pharos-cluster binary as pharos to match better with documentation.

from chpharos.

nevalla avatar nevalla commented on September 28, 2024

Did you follow these instructions?

$ brew install kontena/chpharos/chpharos
....
==> Caveats
Add the following to the ~/.bash_profile or ~/.zshrc file:
  source /usr/local/opt/chpharos/share/chpharos/chpharos.sh

To enable auto-switching of Pharos versions specified by .pharos-version files,
add the following to ~/.bash_profile or ~/.zshrc:
  chpharos auto

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
==> Summary

from chpharos.

luisdavim avatar luisdavim commented on September 28, 2024

ok, after running source /usr/local/opt/chpharos/share/chpharos/chpharos.sh I cant run chpharos

but still:

$ chpharos install latest
error: You need to log in. Use: chpharos login

why do I need to login if all I want is to use it locally?

from chpharos.

luisdavim avatar luisdavim commented on September 28, 2024

Also, after creating an account and logging in, I get:

$ chpharos install latest
Downloading 'pharos-cluster' (16045848 bytes) from https://get.pharos.sh/versions/download/pharos-cluster-darwin-amd64-1.3.3 ..
######################################################################## 100.0%
Verifying download SHA256 checksum.. OK
Downloading 'kubectl' (54938928 bytes) from https://storage.googleapis.com/kubernetes-release/release/v1.11.3/bin/darwin/amd64/kubectl ..
######################################################################## 100.0%
Verifying download SHA256 checksum.. OK
Downloading 'pharos_license' (11341 bytes) from https://raw.githubusercontent.com/kontena/pharos-cluster/v1.3.3/LICENSE ..
######################################################################## 100.0%
Verifying download SHA256 checksum.. OK
Downloading 'kubectl_license' (11358 bytes) from https://raw.githubusercontent.com/kubernetes/kubernetes/v1.11.3/LICENSE ..
######################################################################## 100.0%
Verifying download SHA256 checksum.. OK
Unknown argument -A
error: installation failed, use: chpharos list-remote to get a list of available versions.

from chpharos.

nevalla avatar nevalla commented on September 28, 2024

Can't reproduce this, but based on the error message I suppose the error is coming from here:
https://github.com/kontena/chpharos/blob/master/share/chpharos/chpharos.sh#L681

Do you have ls alias or do you get the same error if running locally ls -A?

from chpharos.

luisdavim avatar luisdavim commented on September 28, 2024

Thanks, that solves my issue.

from chpharos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.