このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン | 最新のリビジョン両方とも次のリビジョン |
python:pipx [2024/03/27 08:20] – [インストール] ともやん | python:pipx [2024/03/27 09:14] – [PATH 環境変数の設定] ともやん |
---|
| |
==== PATH 環境変数の設定 ==== | ==== PATH 環境変数の設定 ==== |
| <WRAP round important 90% minfont_12> |
| <html><code>pipx ensurepath</code></html> を実行すると <html><code>$PATH:~/.local/bin</code></html> が設定されて <html><code>/usr/bin</code></html> が優先になるので注意が必要である🤔\\ |
| <WRAP color_term> |
| <WRAP color_command><html><pre> |
| <font color="#FF8700"><b>$</b></font> <font color="#26A269">grep</font> <font color="#A347BA">-d</font> skip <font color="#A347BA">-A</font> 1 <font color="#A2734C">"Created by"</font> ~/.<font color="#12488B"><b>*</b></font> <font color="#A347BA">--exclude=</font><font color="#A2734C">'*history'</font> |
| </pre></html></WRAP> |
| <WRAP color_result><html><pre> |
| <font color="#A347BA">/home/tomoyan/.commonshrc</font><font color="#2AA1B3">:</font># <font color="#C01C28"><b>Created by</b></font> `pipx` on 2024-02-02 08:14:31 |
| <font color="#A347BA">/home/tomoyan/.commonshrc</font><font color="#2AA1B3">-</font>export PATH="$PATH:/home/tomoyan/.local/bin" |
| <font color="#2AA1B3">--</font> |
| <font color="#A347BA">/home/tomoyan/.zprofile</font><font color="#2AA1B3">:</font># <font color="#C01C28"><b>Created by</b></font> `pipx` on 2024-02-02 08:14:31 |
| <font color="#A347BA">/home/tomoyan/.zprofile</font><font color="#2AA1B3">-</font>export PATH="$PATH:/home/tomoyan/.local/bin" |
| </pre></html></WRAP> |
| </WRAP> |
| |
| </WRAP> |
| |
<WRAP color_term> | <WRAP color_term> |
<WRAP color_command><html><pre> | <WRAP color_command><html><pre> |
| |
<WRAP column 100%> | <WRAP column 100%> |
<WRAP left round tip 80%> | <WRAP left round tip 80% minfont_12> |
| |
zsh の場合は <html><code>~/.zprofile</code></html> に <html><code>PATH</code></html> の設定が追加されます。\\ | zsh の場合は <html><code>~/.zprofile</code></html> に <html><code>PATH</code></html> の設定が追加されます。\\ |
| |
<WRAP column 100%> | <WRAP column 100%> |
<WRAP left round tip 80%> | <WRAP left round tip 80% minfont_12> |
| |
<WRAP color_term> | <WRAP color_term> |