Comments (10)
Hi @helper-uttam, to install datree on windows you need to run the command iwr -useb https://get.datree.io/windows_install.ps1 | iex
, but from what you describe you tried to run curl https://get.datree.io | /bin/bash
which is a linux command and it's not supposed to work on windows OS.
Then I see that you ran the iwr -useb https://get.datree.io/windows_install.ps1 | iex
command but got the errors:
bash: iwr: command not found bash: iex: command not found
This command is supposed to run on Windows and not supported on Linux.
You get these errors when you try to run the command on Linux.
Do you run by chance a Linux virtual machine on Windows? if so what is the linux version you are running?
If that's not the case, make sure you are running the correct command for the OS you are using
(This is described in our docs homepage: https://hub.datree.io/#a-1-install-datrees-cli-integration)
from datree.
Hi @helper-uttam, to install datree on windows you need to run the command
iwr -useb https://get.datree.io/windows_install.ps1 | iex
, but from what you describe you tried to runcurl https://get.datree.io | /bin/bash
which is a linux command and it's not supposed to work on windows OS.Then I see that you ran the
iwr -useb https://get.datree.io/windows_install.ps1 | iex
command but got the errors:bash: iwr: command not found bash: iex: command not found
This command is supposed to run on Windows and not supported on Linux. You get these errors when you try to run the command on Linux.
Do you run by chance a Linux virtual machine on Windows? if so what is the linux version you are running? If that's not the case, make sure you are running the correct command for the OS you are using
(This is described in our docs homepage: https://hub.datree.io/#a-1-install-datrees-cli-integration)
Nopes, I'm not using any linux vm. But I tried all the commands that are for windows like iwr -useb https://get.datree.io/windows_install.ps1 | iex
. But it didn't worked for me
from datree.
Did you try it on PowerShell (as admin)?
from datree.
Yes obviously! That was the first thing I have done.
from datree.
🤔 interesting.
Can you please run $PSversionTable
inside your PowerShell and paste here a screenshot
Like that:
from datree.
Here it is @eyarz
from datree.
I see you have an error in your terminal - maybe this is what causing the installation problem...?
from datree.
Hurray! Installed @eyarz ! Thankyou so much :)
from datree.
Hello everybody,
I am installing datree but I am running into mishaps.
I tried the installation command for windows and switched to powershell and tried the path setup command.
Yet it is throwing error saying datree is not recognized when I run 'datree'.
Please help! :)
from datree.
For future reference, this is how @beingtechsavy solved his issue:
#788
from datree.
Related Issues (20)
- Datree installation fails in Minikube due to insufficient cpu HOT 3
- Datree Support for SOPS or ability to skip files where "sops" is contained HOT 5
- Datree installation is failing HOT 1
- could not find schema for PodDisruptionBudget HOT 2
- k8s object names are not displayed during datree kustomize test schema validation HOT 3
- datree fails with yaml anchors on linux HOT 4
- Datree update causing validation errors on non-existent fields in deployment files HOT 2
- Cannot use Policy as code from CLI HOT 12
- Why `Prevent containers from accessing host files by using high UIDs` request uid > 10 000 HOT 8
- Error messages logged to stdout instead of stderr break Json and Yaml output formats HOT 1
- Fail to evaluate custom rule with Rego HOT 3
- showing container name in addition of array index.
- Support skipping on a single container
- Disable some of built-in rules? HOT 1
- Add optional rule to lint kubernetes resource names
- CIS_INVALID_VALUE_SECCOMP_PROFILE Is reporting error when it should not HOT 4
- documentation link is not working properly
- Datree outage? HOT 4
- get.datree.io is down HOT 3
- Anyone successfully migrated to some other alternative? HOT 2
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 datree.