Skip to content

This bash script is made to create an Ubuntu enviroment with docker, SDKMAN, Java 21, NVM, Node 21 and Vscode

Notifications You must be signed in to change notification settings

vini-barbo/init-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Overview init-env

This Bash script automates the installation of several essential packages and tools on an Ubuntu system, including Docker, SDKMAN (with Java 21), NVM (with Node 21), and VSCode.
Made by Vinicius Barbosa

What It Does

  • Useful Packages Installation:
    Updates the package list and installs packages like curl, zip, unzip, and ca-certificates.

  • Docker Installation:
    Uninstalls any existing Docker-related packages, adds the official Docker repository and its GPG key, installs Docker Engine and related components, configures the Docker group, and applies group changes using newgrp docker in a subshell.

  • NVM and Node.js Installation:
    Downloads and installs NVM, then sets up Node.js (version 22.8.0 is used in the script).

  • SDKMAN and Java Installation:
    Downloads and installs SDKMAN, then installs and sets Java version 21.0.2-open as the current version. It also displays the installed Java version.

  • Visual Studio Code Launch:
    Opens VSCode with the current directory as the workspace.

Prerequisites

  • A running Ubuntu system.
  • Sudo privileges.
  • An active internet connection.

Usage

  1. Make the script executable:

    sudo bash init-env.sh

About

This bash script is made to create an Ubuntu enviroment with docker, SDKMAN, Java 21, NVM, Node 21 and Vscode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages