What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-09-01 04:30:02
npm ERR! path /usr/local/lib/nodejs/node-v10.15.3-linux-x64/lib/node_modules while installing angular cli
It's not recommended to use sudo with npm install, follow the steps from npmjs official docs instead :) Make a directory for global installations: mkdir ~/.npm-global Configure npm to use the new directory path: npm config set prefix '~/.npm-global'... Add solution -
Shell/Bash 2021-08-31 17:38:02
latest gradle version
sudo apt update sudo apt install openjdk-8-jdk -y java -version wget https://services.gradle.org/distributions/gradle-5.0-bin.zip -P /tmp sudo unzip -d /opt/gradle /tmp/gradle-*.zip ls /opt/gradle/gradle-5.0 sudo nano /etc/profile.d/gradle.sh ####/etc/p... Add solution -
Shell/Bash 2021-08-31 11:44:02
how to install golang on ubuntu
#go to your home directory and get the golang tarball using curl cd ~ #change "go1.15.2" to whatever version you want curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz #extract the download using tar tar xvf go1.15.2.linux-amd64.tar.... Add solution -
Shell/Bash 2021-08-31 05:30:01
how to install python on ubuntu pyenv
# You need these dependencies for pyenv to work. sudo apt-get update; sudo apt-get install make build-essential libssl-dev zlib1g-dev \ libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm \ libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev... Add solution -
Shell/Bash 2021-08-30 18:18:02
adding path in mac
The easiest way to add a new path to $PATH (the environment variable) is with the export command. In this example we’ll add “~/opt/bin” to the user PATH with export: export PATH=$PATH:~/opt/bin You can run that directly from the comman... Add solution