This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 0. Rust がない場合はインストール(必要に応じてコメントアウトを外す) | |
| # curl https://sh.rustup.rs -sSf | sh | |
| # 1. rust-landlock をクローン&ビルド | |
| git clone https://github.com/landlock-lsm/rust-landlock && \ | |
| cd rust-landlock && cargo build --examples | |
| # 2. エイリアス設定:Claude CLI をサンドボックス環境で実行 | |
| echo 'alias cs="echo -e \"\033[1;33m🔒 Entering SANDBOX...\033[0m\" && \ | |
| LL_FS_RO=/bin:/lib:/usr:/proc:/etc:/dev:/snap/bin:/opt:/var/lib:/run:\ |
OlderNewer