Comments (6)
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.
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.
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.
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.
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.
Thanks, that solves my issue.
from chpharos.
Related Issues (20)
- Add tab completions
- Make chpharos auto check if the version is already set as current version
- Add User-agent header to get.pharos.sh requests HOT 3
- _chpharos_os: command not found HOT 1
- Subcommands not found when using non-english locales HOT 4
- Smoke tests
- Unknown argument -A when installing pharos
- shasum not installed CentOS 7
- Display licenses on install
- Improve http error handling
- Help shows full paths
- installing pharos on debian docker fails due to shasum verification failed error HOT 1
- Make the debug flag set curl to verbose
- chpharos ls-remote could limit the number of rows returned
- Shortcut for "latest+oss" version
- Support FISH Shell
- Uninstall chpharos
- Download/install should support multi-binary installations HOT 2
- Publish and cache remote file list online HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chpharos.