GithubHelp home page GithubHelp logo

setup-wsl's Introduction

Setup WSL

  1. Instalar a versão atual do terminal PowerShell

  2. Abrir o PowerShell como administrador

  3. Instalar o WSL

    wsl --install

    Nota: Caso encontre problemas para executar o WSL2, consulte a sessão de troubleshooting


    3.1. Listar as distribuições Linux instaladas
    wsl -l -v

    Nota: Também são listados a versão do WSL e o status de execução de cada distribuição


    3.2. Listar as distribuições Linux disponíveis para instalação
    wsl -l -o

    3.3. Instalar uma distribuição
    wsl --install -d <DISTRO-NAME>

    3.4. Executar uma distribuição instalada
    wsl -d <DISTRO-NAME>

  4. Configurar a distribuição instalada

    4.1. Configuração automática

    bash <(curl -fsSL https://raw.githubusercontent.com/nereumelo/setup-wsl/main/dialog.sh)

    Nota: Caso deseje configurar manualmente, consulte a sessão de Configuração manual


Configuração manual

  1. Atualizar a distribuição e seus pacotes

    source <(curl -fsSL https://raw.githubusercontent.com/nereumelo/setup-wsl/main/scripts/setup.sh)

    Nota: Caso apareça a mensagem 'You should reboot', abra o terminal PowerShell e desligue as distribuições em execução. Após isso, basta abrir novamente o terminal da distribuição e prosseguir com o setup.

    wsl --shutdown

  2. Instalar o Git

    source <(curl -fsSL https://raw.githubusercontent.com/nereumelo/setup-wsl/main/scripts/bash/install-git.sh)

  3. Instalar o Docker Engine

    source <(curl -fsSL https://raw.githubusercontent.com/nereumelo/setup-wsl/main/scripts/bash/install-docker.sh)

  4. Instalar o Node Version Manager (NVM)

    source <(curl -fsSL https://raw.githubusercontent.com/nereumelo/setup-wsl/main/scripts/bash/install-nvm.sh)

  5. Instalar o terminal ZSH

    source <(curl -fsSL https://raw.githubusercontent.com/nereumelo/setup-wsl/main/scripts/zsh/install-zsh.sh)

Troubleshooting

Caso encontre problemas para executar a versão 2 do WSL

setup-wsl's People

Contributors

nereumelo avatar nereumelo-avanade avatar

Stargazers

João Vitor Mergulhão avatar

Watchers

 avatar

Forkers

thaisndc

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.