UNPKG

@zohodesk/client_build_tool

Version:

A CLI tool to build web applications and client libraries

30 lines (20 loc) 883 B
# create node18-env **Step 1:** run below comment > python3 -m venv ~/node18-env **Step 2:** remove all files except ~/node18-env/bin/activate **Step 3:** run below comment > npm i -g n **Step 4:** run below comment > N_PREFIX=$HOME/node18-env n 18.11.0 **Step 5:** add below line to ~/node18-env/bin/activate this file bottom > export N_PREFIX=$HOME/node18-env > export PATH=$N_PREFIX/bin:$PATH **Step 6:** to activate run below comment > source ~/node18-env/bin/activate **Step 7:** to deactivate run below comment > deactivate ### To enable n18 command **Step 1:** add below line in your `~/.bashrc` or `~/.bash_profile` or `~/.profile` or `~/.zshrc` file which file works for you > alias n18="source ~/node18-env/bin/activate" **Step :** run your `~/.bashrc` or `~/.bash_profile` or `~/.profile` or `~/.zshrc` file which file works for you > source ~/.bash_profile