Giter Site home page Giter Site logo

deno_install's Introduction

deno_install

One-line commands to install Deno on your system.

Linux & Mac Windows
Build Status Build status

Install Latest Version

With Shell:

curl -fsSL https://deno.land/x/install/install.sh | sh

With PowerShell:

iwr https://deno.land/x/install/install.ps1 -useb | iex

Install Specific Version

With Shell:

curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.2.10

With PowerShell:

iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.2.10

Install via Package Manager

With Scoop:

scoop install deno

With Homebrew:

Coming soon!

See denoland/deno#1486.

Compatibility

Known Issues

Could not create SSL/TLS secure channel

PS C:\> iwr https://deno.land/x/install/install.ps1 -useb | iex
iwr : The request was aborted: Could not create SSL/TLS secure channel.
At line:1 char:1
+ iwr https://deno.land/x/install/install.ps1 -useb | iex
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

When does this issue occur?

If your systems' ServicePointManager is configured to use an out-dated security protocol, such as, TLS 1.0.

How can this issue be fixed?

Configure your system to use an up-to-date security protocol, such as, TLS 1.2:

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Running scripts is disabled

PS C:\> iwr https://deno.land/x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.2.10
.\install.ps1 : File C:\install.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:71
+ ... /x/install/install.ps1 -useb -outf install.ps1; .\install.ps1 v0.2.10
+                                                     ~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : UnauthorizedAccess

When does this issue occur?

If your systems' ExecutionPolicy is Undefined or Restricted.

How can this issue be fixed?

Allow scripts that are downloaded from the internet to be executed by setting the execution policy to RemoteSigned:

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force

deno_install's People

Contributors

marktiedemann avatar ry avatar qti3e avatar kt3k avatar piscisaureus avatar amnats avatar 738 avatar srijanreddy98 avatar afinch7 avatar zhmushan avatar

Watchers

luis jhoham venegas tobar avatar James Cloos avatar

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.