nvm instal ubuntu code example

Example 1: install nvm ubuntu

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm. Now you can use nvm

Example 2: how to install insomnia in ubuntu

wget 'https://github-production-release-asset-2e65be.s3.amazonaws.com/56899284/92790b80-f324-11ea-84a0-3c9d6605b6af?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200920%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200920T074702Z&X-Amz-Expires=300&X-Amz-Signature=09472ff2653157fe261a407dd2f003856b1a5669b8b49a61c365c4ab7178d932&X-Amz-SignedHeaders=host&actor_id=43744709&key_id=0&repo_id=56899284&response-content-disposition=attachment%3B%20filename%3DInsomnia.Core-2020.4.0.deb&response-content-type=application%2Foctet-stream' -O Insomnia.Core-2020.4.0.deb
sudo dpkg -i Insomnia.Core-2020.4.0.deb
sudo apt-get install -f