编程笔记

lifelong learning & practice makes perfect

install typora in Ubuntu

download the Typora-linux-x64.tar.gz,我的是64位机器
解压后文件夹下的Typora是可执行文件,cd 到该目录下,./Typora会运行程序。
添加软链接

ln -s typora所在目录/TYpora 桌面所在目录

install nvm

安装完,重启terminal无效,未将配置写入配置文件

安装完后会有如下配置提示

1
2
3
4
5
6
7
=> nvm source string already in /Users/leinov/.zshrc
=> bash_completion source string already in /Users/leinov/.zshrc
=> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

在 ~/目录下查看.bashrc有没有以下内容,没有则将下面内容粘贴到文件里

1
2
3
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

然后sourse一下

1
source ~/.bashrc

欢迎关注我的其它发布渠道