Code Monkey home page Code Monkey logo

Comments (10)

alexfedin avatar alexfedin commented on May 19, 2024

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.

helper-uttam avatar helper-uttam commented on May 19, 2024

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)

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.

eyarz avatar eyarz commented on May 19, 2024

Did you try it on PowerShell (as admin)?

from datree.

helper-uttam avatar helper-uttam commented on May 19, 2024

Yes obviously! That was the first thing I have done.

from datree.

eyarz avatar eyarz commented on May 19, 2024

🤔 interesting.
Can you please run $PSversionTable inside your PowerShell and paste here a screenshot
Like that:
image

from datree.

helper-uttam avatar helper-uttam commented on May 19, 2024

Here it is @eyarz
Screenshot (83)

from datree.

eyarz avatar eyarz commented on May 19, 2024

I see you have an error in your terminal - maybe this is what causing the installation problem...?

from datree.

helper-uttam avatar helper-uttam commented on May 19, 2024

Hurray! Installed @eyarz ! Thankyou so much :)

from datree.

beingtechsavy avatar beingtechsavy commented on May 19, 2024

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! :)
Screenshot (57)

from datree.

eyarz avatar eyarz commented on May 19, 2024

For future reference, this is how @beingtechsavy solved his issue:
#788

from datree.

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.