Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

command to install fish shell

sudo apt install fish
chsh -s /usr/bin/fish
# logout/login

# To switch back to bash
chsh -s /bin/bash
# logout/login
Comment

install node on fish-shell

# Follow This to install nvm for fish-shell
fisher install jorgebucaran/nvm.fish ## This will install fish package manager Fisher
# Then install Nvm package made for fish shell https://github.com/jorgebucaran/nvm.fish
fisher install jorgebucaran/nvm.fish
# Then restart or write this
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"

## Install Node.js
nvm list-remote # to see all available node.js versions remotely
# Install particular Verson . You can install as many versions as you want as use one
nvm insall <version> ## example : nvm install 17.3.0
# use nvm list to list local installed versions and then use one version installed version
nvm use <version> ## example  : nvm use 17.3.0
# Now node.js is installed and using successfully
Comment

PREVIOUS NEXT
Code Example
Shell :: linux find md5 checksum 
Shell :: what is uname -r linux 
Shell :: unable to delete c2dd1984ad5b (must be forced) - image is being used by stopped container 
Shell :: exit branch git 
Shell :: remove a git remote origin 
Shell :: steps to sync branch to fork master? 
Shell :: delete file with cmd 
Shell :: microphone auto adjusting ubuntu 
Shell :: import docker image 
Shell :: Bash dir in loop 
Shell :: get diff stash 
Shell :: .gitignore everything except 
Shell :: add project to github 
Shell :: redis scan keys and print values shell 
Shell :: how to install pytesseract in rpi 
Shell :: install wordpress linux 
Shell :: wps office has not found any installed printers 
Shell :: linux while one line command 
Shell :: ubuntu install mariadb 
Shell :: disable open file explorer erverytime i connect usb ubuntu 
Shell :: sed disable disallow root login 
Shell :: clone in aws linux 2 
Shell :: Unix and Linux System Commands 
Shell :: powershell get-childitem exclude node_modules 
Shell :: brew compas mongo 
Shell :: bash variable in string 
Shell :: get ssm version 
Shell :: pngquant-bin@4.0.0 postinstall: `node lib/install.js` 
Shell :: crontab syntax 
Shell :: gh configure vim 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =