Skip to content

Instantly share code, notes, and snippets.

@CharlesNepote
Last active January 12, 2022 16:03
Show Gist options
  • Save CharlesNepote/17b66b20117f93e1f5dd987469813dfb to your computer and use it in GitHub Desktop.
Save CharlesNepote/17b66b20117f93e1f5dd987469813dfb to your computer and use it in GitHub Desktop.
#!/bin/bash
# Install useful tools
# TODO: compléter
sudo apt install curl git htop iftop lynx mc recode -y
# TODO: csvkit
# TODO: docker
# TODO: VSCODE
# XMLStarlet is a set of command line utilities (tools) which can be used
# to transform, query, validate, and edit XML documents and files using
# simple set of shell commands in similar way it is done for plain text files
# using UNIX grep, sed, awk, diff, patch, join, etc commands.
sudo apt install xmlstarlet #
# Install nvm (Node Version Manager) to manage nodejs version
# Repo: https://github.com/nvm-sh/nvm
# Command line install taken from the latest doc (2021-12-17): https://github.com/nvm-sh/nvm
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
source ~/.bashrc
# Install nodejs
# Choose an LTS version : https://tamalweb.com/which-nodejs-version
# Node.js 12 maintenance ends mid-2022
# Node.js 14 maintenance ends after mi-2023
# Node.js 16 is active since October 2022
nvm install 12.22.7 # The first version installed becomes the default.
# or nvm install node # Installs the latest LTS
# To get the latest LTS version of node and migrate your existing installed packages, use
# nvm install 'lts/*' --reinstall-packages-from=current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment