diff --git a/doc/bootable-usb-drive.md b/doc/bootable-usb-drive.md index 51fa567..793b075 100644 --- a/doc/bootable-usb-drive.md +++ b/doc/bootable-usb-drive.md @@ -19,4 +19,17 @@ sudo umount /dev/ sudo mkfs.vfat /dev/ ``` -* [create bootable USB drive](https://www.pragmaticlinux.com/2021/03/create-a-bootable-usb-drive-from-a-linux-iso-image/) +* identify the device name +``` +lsblk -p | grep "disk" +``` + +* make sure the USB drive is not mounted +``` +sudo umount /dev/ +``` + +* write the ISO file to the USB drive +``` +sudo dd if=[ISO FILE] of=[DEVICE NAME] bs=4M conv=fdatasync status=progress +``` \ No newline at end of file diff --git a/doc/node.md b/doc/node.md index 896edf8..e3a58d8 100644 --- a/doc/node.md +++ b/doc/node.md @@ -12,6 +12,31 @@ sudo apt update sudo apt-get install nodejs npm --no-install-recommends ``` +## Using NVM Update + +* configure Node.js: [Here](https://github.com/nvm-sh/nvm) we find a bash script to manage multiple active node.js versions +``` +node -v +which node +less ~/.profile +touch ~/.profile +chmod 700 ~/.profile +curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash +cat ~/.profile +command -v nvm +nvm -v +. ~/.profile +nvm -v +command -v nvm +echo $NVM_DIR +nvm version-remote --lts +nvm ls-remote| grep 'Latest LTS'| grep v10 +nvm i +which node +/usr/bin/node -v +node -v +``` + ## Using NVM * install curl command-line utility