Skip to content

Commit 96f3a83

Browse files
Adds symlink info.
1 parent aceb279 commit 96f3a83

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/how-to/move-ipfs-installation/move-ipfs-installation.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,22 @@ A different approach to moving your IPFS repository is to simply create a symlin
143143
144144
### Linux and MacOS
145145
146+
Unix-based operating systems can use the `ln -s` command to create a symbolic link:
147+
148+
```shell
149+
ln -s ~/.ipfs ~/new-ipfs-repo
150+
```
151+
146152
### Windows
147153
154+
Windows users can use the `mklink` command to create a symbolic link. This command is available within command-prompt or PowerShell:
155+
156+
```powershell
157+
mklink "C:\New IPFS Repo" "C:\Windows\Users\YOUR_USERNAME\.ipfs\"
158+
```
159+
160+
Make sure to replace `YOUR_USERNAME` with the name of the user you are currently logged in as.
161+
148162
## Troubleshooting
149163
150164
Here are some common issues you might run into when moving your IPFS installation.

0 commit comments

Comments
 (0)