Skip to content

Instantly share code, notes, and snippets.

@akelch
Last active February 6, 2023 15:35
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akelch/e916dfd6b45e28ac5ec653dcf509956b to your computer and use it in GitHub Desktop.
Save akelch/e916dfd6b45e28ac5ec653dcf509956b to your computer and use it in GitHub Desktop.
Manjaro 21.1.6 ViUR - Setup
-----------------------------------------------------------------------------------------------------------------
Preconfig
-----------------------------------------------------------------------------------------------------------------
sudo pacman -Syu
sudo pacman -S base-devel
sudo pacman -S git
sudo pacman -S yay
-----------------------------------------------------------------------------------------------------------------
Python 3
-----------------------------------------------------------------------------------------------------------------
sudo pacman -Syu python-pip
-----------------------------------------------------------------------------------------------------------------
pipenv
-----------------------------------------------------------------------------------------------------------------
cd ~
pip install pipenv
echo 'export PATH="$HOME/.local/bin:$PATH"' >> .zshrc
-----------------------------------------------------------------------------------------------------------------
pyenv
-----------------------------------------------------------------------------------------------------------------
cd ~
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
echo 'export PATH=$HOME/.pyenv/bin:$PATH' >> .zshrc
echo 'eval "$(pyenv init -)"' >> .zshrc
echo 'eval "$(pyenv virtualenv-init -)"' >> .zshrc
-----------------------------------------------------------------------------------------------------------------
gcloud
-----------------------------------------------------------------------------------------------------------------
yay -S google-cloud-sdk
yay -S google-cloud-sdk-app-engine-python
yay -S google-cloud-sdk-app-engine-python-extras
gcloud init
gcloud auth application-default login
-----------------------------------------------------------------------------------------------------------------
node + npm
-----------------------------------------------------------------------------------------------------------------
yay -s nodejs
yay -s npm
sudo npm install -g n
sudo n stable
@KadirBalku
Copy link

KadirBalku commented Feb 2, 2023

yay -S nodejs
yay -S npm

I would install NVM first and via NVM u can install latest nodejs, it is cleaner and faster to do it that way.
Like this:

yay -S nvm
echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.bashrc for bash
echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.zshrc for zsh
nvm install --lts for LTS version of nodejs
nvm install node for latest version
npm install -g npm@latest

@KadirBalku
Copy link

KadirBalku commented Feb 3, 2023

google-cloud-sdk is marked as not up to date in the AUR.
Recommendation here is to follow the steps in the google cloud sdk documentation:
https://cloud.google.com/sdk/docs/install-sdk

For the components app-engine-python and app-engine-python-extras follow this steps:
https://cloud.google.com/sdk/gcloud/reference/components/install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment