|
#!/bin/bash |
|
|
|
|
|
|
|
|
|
|
|
npm i -g tsx tslab http-server miniflare@2 pm2 |
|
sudo chown -R 1000:1000 "/home/user/" |
|
|
|
echo ' |
|
# >>> conda initialize >>> |
|
__conda_setup="$(/home/user/miniconda/bin/conda shell.bash hook 2> /dev/null)" |
|
if [ $? -eq 0 ]; then |
|
eval "$__conda_setup" |
|
else |
|
if [ -f "/home/user/miniconda/etc/profile.d/conda.sh" ]; then |
|
. "/home/user/miniconda/etc/profile.d/conda.sh" |
|
else |
|
export PATH="/home/user/miniconda/bin:$PATH" |
|
fi |
|
fi |
|
unset __conda_setup |
|
# <<< conda initialize <<< |
|
' >> ~/.bashrc |
|
|
|
sudo chown -R 1000:1000 "/usr/" |